by manuelabeledo · 9mo ago · 0 comments
But I would caution against adding too much business logic to the database, and tying message passing to your database doesn’t sound like the best of ideas.
Also, this whole point predicates upon the assumption that ORMs are infallible when translating queries into SQL, which most definitely are not.
I personally rely on views to reuse base queries and then add filters on top of them.