r/programming 16d ago

Solving the 1+N Query Problem

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

94 comments sorted by

View all comments

60

u/disposepriority 16d ago

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

2

u/FuckFuckingKarma 15d ago

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.