3 ms·
There definitely is a reasonable middle ground. The best ORMs I have dealt with provide straightforward paths for simple queries and then let you drop to raw SQ
by SOLAR_FIELDS 8y ago
There definitely is a reasonable middle ground. The best ORMs I have dealt with provide straightforward paths for simple queries and then let you drop to raw SQL for complex/performance critical stuff.
- chengiz 8y ago"Make simple things simple and complex things possible" - worth putting this placard on every ORM/API/DSL/GUI developer's desk.
- ccleve 8y agoI wrote almost that exact line in my blog post on the topic: "So a better ORM should make the simple things easy, and the hard things possible." https://blog.dieselpoint.com/a-minimalist-good-enough-approach-to-object-relational-mapping-64df9798b276 https://blog.dieselpoint.com/a-minimalist-good-enough-approa...