3 ms·
Yes! This entire thread is filled with people complaining about ORM not matching vendor promises which is true. * It won't let you swap a database with no eff
by invalidname 3y ago
Yes!
This entire thread is filled with people complaining about ORM not matching vendor promises which is true.
* It won't let you swap a database with no effort
* It won't remove the need to learn and understand the SQL it generates
* It won't make schemas seamless
We use it since it's a standard abstraction that we would need to replicate otherwise. It makes caching the database access possible which is remarkably difficult to do at scale for manual SQL.
It comes with standardized tools and best practices that make issues like n+1 irrelevant.
The main problem with ORM are:
* Misaligned expectations
* Bad ORMs
All you need to do to appreciate ORM is open a project written without it and try to change ANYTHING in that project... ORMs are amazing!
- deleted 3y ago[deleted]