r/programming 7d ago

Solving the 1+N Query Problem

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

94 comments sorted by

View all comments

97

u/archipeepees 7d ago

ive been using EF Core for ORM and this hasn't really been a problem for me or any of my colleagues for at least a decade because we don't use lazy loading. database calls are explicit; mapping the results to objects is implicit. is everyone outside of .net still banging their heads against stuff like this?

2

u/jwp1987 7d ago edited 7d ago

I was going to say that this reminds me of LINQ in C# (specifically IQueryable) when using EF like a decade ago. Keeps you more aware of the database side of things and you could tweak things like lazy loading.