zaster
5 months ago

Querying Relationship Existence

Posted 5 months ago by zaster
$sub_jobs = $job->sub_jobs; // No Issue

I want to do something like this after the above

 $sub_jobs = $sub_jobs::has('dispatches')->get(); // Wrong

Please sign in or create an account to participate in this conversation.