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