lundi 28 mars 2016

Apply AND operation in laravel select query

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.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1VPNC33
via IFTTT

Aucun commentaire:

Enregistrer un commentaire