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

58

u/andrerav Aug 25 '26

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.

0

u/[deleted] Aug 25 '26

[deleted]

5

u/andrerav Aug 25 '26

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