Re:How I Reduced My DB Server Load by 80%
by Can_Not on Tuesday October 10, 2017 @02:27PM
(#15444137)
You don't even have to read the library source, just verify the SQL statements generated. Most ORMs let you drop into raw SQL for advanced clauses and sub-statements. For me there value of an ORM is composable business logic. For example, if whereHasLotsOfTrees is a complicated SQL subquery and has it's business logic definition changed, I can edit only one function and have the new logic work everywhere.
I'm always confused by how reluctant folks are, in general, to read underlying libraries.