in array in laravel code example
Example 1: laravel where in array
$items = DB::table('items')->whereIn('id',[1,2,..])->get();
Example 2: where is in array laravel
$items = DB::table('items')->whereIn('id', [1, 2, 3])->get();
$items = DB::table('items')->whereIn('id',[1,2,..])->get();
$items = DB::table('items')->whereIn('id', [1, 2, 3])->get();