Laravel di mana banyak nilai
$userIds = [1, 2, 3];
$friend = DB::table('users')->whereIn('id', $userIds)->get();
Victor Cyr-Desmeules
$userIds = [1, 2, 3];
$friend = DB::table('users')->whereIn('id', $userIds)->get();