r/programming 8d ago

Solving the 1+N Query Problem

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

94 comments sorted by

View all comments

62

u/disposepriority 8d ago

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

56

u/andrerav 8d ago

ORM's worth their salt solved this at least a decade ago. And, most developers will implement N+1 anyway, without or without an ORM.

-8

u/[deleted] 7d ago

[deleted]

6

u/andrerav 7d ago

This can't possibly be a sentence written by a human, much less a developer.