Laravel where Tricks

Browse latest tricks and tips on Laravel where.

IN query in Laravel Eloquent

How to use "IN" Query in Laravel ?In Laravel you can use "IN" query asUsing Eloquent$data = YourModel::whereIn('id', array(1, 2, 3))->get(); Using DB Query builder$data = DB::t ...
published on : 9 hours ago 12 Comments