laravel db:query code example
Example 1: wherein laravel
DB::table('user')->whereIn('id', [100,200])->get();
Example 2: DB::table('users')->get();
$users = DB::table('users')->get();
DB::table('user')->whereIn('id', [100,200])->get();
$users = DB::table('users')->get();