laravel wher in
snippet in php

laravel wher in

user1019

$users = DB::table('users')
                    ->whereIn('id', [1, 2, 3])
                    ->get();