hi,
Having same problem...
Did you fix it ?
I think you all are talking about this
$products=Product::with(array(
'serie'=>function($query)
{
$query->where('name','like','%unky%');
}))
->whereHas('serie', function($query)
{
$query->where('name','like','%unky%');
})
->get()->toArray();
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community