laravel db select table as code example
Example: laravel wher in
$users = DB::table('users')
->whereIn('id', [1, 2, 3])
->get();
$users = DB::table('users')
->whereIn('id', [1, 2, 3])
->get();