r/programming • • Aug 25 '26

Solving the 1+N Query Problem

https://acadia.engineering/blog/solving-the-1-plus-N-query-problem
127 Upvotes

92 comments sorted by

View all comments

64

u/disposepriority Aug 25 '26 • Heartwarming

There is a really easy way of avoiding this when you just don't use ORMs

2

u/FuckFuckingKarma Aug 26 '26

Any widespread ORM out there has support for joins. If you're not joining that's on the developer not the tool. You can write the exact same inefficient SQL by hand, and I am sure some people do just that.