I have this query:
$query->whereHas($key,function($q) use($option){
$q->whereIn('district', $option);
$q->whereIn('region', $option);
});
But its not working. I want to check district
and region
and i get an array from $option
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2kmRFJ5
via IFTTT
Aucun commentaire:
Enregistrer un commentaire