3 ms·
Most ORMs have way too write raw SQL. Furthermore someone using an ORM well will understand how their queries are mapping to SQL. Your scenario happens with pe
by gjjrfcbugxbhf 9y ago
Most ORMs have way too write raw SQL. Furthermore someone using an ORM well will understand how their queries are mapping to SQL.
Your scenario happens with people that either don't know or don't care. They will write crappy queries with any tool.
- collyw 9y agoSounds about right. I built a moderately complex application in Django at a previous workplace, using the ORM for most things, until the queries were too complex for the ORM. Another guy connected to the same database and built some graphs using PHP and SQL. Guess who had to help him write the SQL when the queries got too complex for him? The ORM user.