Querying Relationship Existence
$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.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!