$sub_jobs = $job->sub_jobs;
What i need is to get unique $sub_jobs;
$sub_jobs = $job->sub_jobs()->unique()->get();
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!