Laravel, gdzie jest w tablicy
$items = Item::whereIn('id', [1,2,..])->get();
smtir
$items = Item::whereIn('id', [1,2,..])->get();
$items = DB::table('items')->whereIn('id',[1,2,..])->get();
$items = Item::whereIn('id', [1,2,..])->get();
$items = DB::table('items')->whereIn('id', [1, 2, 3])->get();