Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
hitko31482yNo, they're just inefficient. ORMs are fine for simple relationships, but they don't do any "complex" optimisations a developer would make if they were querying the database directly.
-
hitko31482y@daxinator22 No, the Laravel solution is to stick with the inefficient query builder until it becomes enough of a problem to go and write your own SQL.
-
@daxinator22 the opposite. ORMs are there to glorify queries, but optimized queries are better done by hand.
Related Rants
Is it just me, or are Laravel model queries super slow, especially when you're loading relationships?
question
laravel
mysql