Reply
$student = Student::with(array('services' => function($q) use ($id_ services)
{
$q->whereId($id_ services);
}))->first();
This was extremely helpful for solving my problem. Thank you!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community