how about trying the following:
$positions = Auth::user()->jobs()->where('job_id', '=',$jobId)->first()->departments();
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community