wherein laravel Tricks

Browse latest tricks and tips on wherein laravel.

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 : 19 hours ago 12 Comments