| ▲ | bluefirebrand 3 hours ago | ||||||||||||||||||||||||||||
> Folks who dislike ORMs seem to have this false dichotomy that "the ORM _must_ be used for all queries", which is a self-imposed/unpractical restriction. I've always heard a major selling point of ORMs is "You don't have to write the actual SQL anymore" Because of that, I tend to not trust people who use ORMs to even know how to write queries by hand in the first place | |||||||||||||||||||||||||||||
| ▲ | stephen 2 hours ago | parent [-] | ||||||||||||||||||||||||||||
You're right, that has been another "pro ORM" pitch that has gone awry and, taken to the extreme, is wrong imo. My nuanced articulation is "you don't have to write the _boilerplate_ SQL for the 90% of just-do-some-CRUD endpoints in your enterprise SaaS application, but you 100% need to 'know SQL' for the last 5-10% of ~reporting/analytics queries that the ORM is going to mess up". | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||