laravel where and wherein code example
Example 1: wherein laravel
DB::table('user')->whereIn('id', [100,200])->get();
Example 2: laravel where and where
Table::where('Column', Value)->where('NewColumn', Value)->get();
DB::table('user')->whereIn('id', [100,200])->get();
Table::where('Column', Value)->where('NewColumn', Value)->get();