Using loadMissing() to avoid duplicate queries? If the relationship was previously loaded with a filter, you might silently get incomplete data. Here's when the extra query is actually worth it.
masteringlaravel.io/daily/2026-03-16-when-loadmissing-works-against-you
Back