Question: what is the difference between lazy loading and eager loading?
Answer: There are clear performance trade-offs between Eager and Lazy Loading objects from a database. With Eager Loading, all the data is retrieved in a single query, which can then be cached to improve the Application performance. ... With Lazy Loading, we only retrieve just the amount of data, which we need in a single query.