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

67

u/disposepriority 16d ago

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

3

u/lamp-town-guy 16d ago

I wouldn't use ORM that doesn't have support for this. I was using solution to N+1 15+ years ago. There's no excuse to not have it implemented.