Re:What ORMs have taught me: just learn SQL (2014)
by learc83 on Friday September 20, 2019 @10:02PM
(#21033019)
I tend to use Active record for simple queries. And for anything complex, I write a SQL query to define a view and build a view backed model. That way I can use SQL when I want/need to, but I can keep it contained in one place, and I don't have constantly rewrite tedious queries.
[ Parent
| on HN ]
There are no comments on this comment yet.