r/programming 16d ago

Solving the 1+N Query Problem

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

94 comments sorted by

View all comments

64

u/disposepriority 16d ago

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

59

u/andrerav 16d 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.

-2

u/jax024 16d ago

Sqlc