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