Checking whether a relationship has any records can quietly load every row. One ...
Joel Clermont @jclermont@phpc.social
Checking whether a relationship has any records can quietly load every row. One small change makes the database do the work instead. #php #laravel https://masteringlaravel.io/daily/2026-11-06-republished-avoid-unnecessary-work-when-querying-relationships