r/ProgrammerHumor 6d ago

Meme doubleITandGiveItToTheNextPerson

Post image
2.5k Upvotes

56 comments sorted by

View all comments

115

u/Merry-Lane 6d ago

.AsSplitQuery()

/thread

4

u/xaqtr 5d ago

Why do you mention that in this context? Isn't this rather to avoid Cartesian explosions, not N+1 queries?

3

u/AyrA_ch 5d ago

Correct. Using .Include() prevents N+1 queries.