using wherein laravel code example Example: wherein laravel DB::table('user')->whereIn('id', [100,200])->get();