Comment by Eikon
I'm not sure why you think you’d need an ORM for that. Most SQL client libraries allow you to compose queries, and query builders, which are not ORMs, can handle that just fine too.
I'm not sure why you think you’d need an ORM for that. Most SQL client libraries allow you to compose queries, and query builders, which are not ORMs, can handle that just fine too.
By the time you have a query builder that will rewrite queries so that column name and table names to be compatible with composition you basically have an ORM.
Especially if you are defining types anyways to extract the data from the sql into.