I need a AND operation in laravel project.
I want to apply AND operation in one array. Is it possible ?
I need a data where u_id same for both t_id. sometimes t_id is single value or array.
$update = Tag::whereIn('t_id',$tags)->lists('u_id');
I want to apply AND operation in that not a OR operation.
guide me for laravel.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire