laravel or wherein code example
Example 1: wherein laravel
DB::table('user')->whereIn('id', [100,200])->get();
Example 2: laravel whereIn example
public function index()
{
$data= User::whereIn('name', ['john','dam','smith'])->get();
dd($data);
}