3 ms·
Any ORM worth it's salt has an escape hatch that allows you to do all those fancy raw SQL queries. But the amount of queries that aren't fancy, and that an ORM
by LinXitoW 2y ago
Any ORM worth it's salt has an escape hatch that allows you to do all those fancy raw SQL queries.
But the amount of queries that aren't fancy, and that an ORM is perfectly capable of abstracting away is (imho) 90% of all queries run.
Why make 90% or queries more tedious and error prone, just to make 10% slightly easier?
- rad_gruchalski 2y agoI don’t even comprehend your argument. Look: https://gorm.io/docs/ https://gorm.io/docs/, it’s full of strings everywhere. That’s as error prone as anything else and it puts an additional layer of abstraction between you and your sql.