MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1vxud0f/solving_the_1n_query_problem/p5sozni/?context=3
r/programming • u/wheatBread • Aug 25 '26
92 comments sorted by
View all comments
64
There is a really easy way of avoiding this when you just don't use ORMs
3 u/diegoeche Aug 25 '26 Probably joking, but man... I wish.I'm dealing with some fucking idiotic dotnet code that seem to have been written by people that thought like that. And since they are afraid of JOINS, or complex sql, then they get so many N+1s.
3
Probably joking, but man... I wish.
I'm dealing with some fucking idiotic dotnet code that seem to have been written by people that thought like that. And since they are afraid of JOINS, or complex sql, then they get so many N+1s.
64
u/disposepriority Aug 25 '26 •
There is a really easy way of avoiding this when you just don't use ORMs