What would you use if ORM is to be avoided?
Perhaps something like https://github.com/sqlc-dev/sqlc ?
Perhaps something like https://github.com/sqlc-dev/sqlc ?
This. In my experience, every project that has non-trivial query requirements starts out as "this ORM is nice, it takes away 90% of my work" and ends with "how do I get rid of that leaky abstraction layer that constantly makes my life harder."
Didnt' now about sqlc, it seems very interesting ! Thanks for sharing !
These also have the advantage of being programming language-agnostic.