Open simon-tma opened 1 month ago
The core lazy() and lazyById() methods on an Eloquent builder both support eager-loading of relations. lazyByCursor() is not doing any eager loading, causing N+1 query performance issues.
lazy()
lazyById()
lazyByCursor()
I‘ll look into it.
The core
lazy()
andlazyById()
methods on an Eloquent builder both support eager-loading of relations.lazyByCursor()
is not doing any eager loading, causing N+1 query performance issues.