Skip to content

MediumConceptData access and ORMs

What is lazy loading versus eager loading in an ORM?

What a good answer covers

Lazy loading fetches related data when first accessed, which can cause N+1 queries. Eager loading fetches related rows up front with a join or extra query, which suits known access patterns.

More on Data access and ORMs

Flashcards for this topic