« first day (4368 days earlier)      last day (573 days later) » 

1:47 AM
posted on September 30, 2022 by Phil Haack

When using an ORM with a web app, lazy loading will almost certainly result in hidden N+1 queries. Eager loading is a great way to avoid this, but has its own pitfalls. In particular, for each query, you need to be careful about what you include in the query. If you include too much, you can end up with a lot of data that you don’t need. If you include too little, you can end up with confusing

 

« first day (4368 days earlier)      last day (573 days later) »