2 ms·
ORMs: "Making easy things easy, and hard things harder" I do like query builders though. But I think you need to understand and have easy access to the SQL tha
by hebrox 4y ago
ORMs: "Making easy things easy, and hard things harder"
I do like query builders though. But I think you need to understand and have easy access to the SQL that is being generated.
- remram 4y agoI agree, query builders make it much easier to re-use code (e.g. putting the same CTE or expression in multiple queries without assembling strings by hand) and support multiple database backends (e.g. placeholder syntax differs). I really recommend them. ORM vs raw SQL is a false dichotomy.