DB::table('user')->whereIn('id', [100,200])->get();
public function index()
{
$data= User::whereIn('name', ['john','dam','smith'])->get();
dd($data);
}
$users = User::whereIn('id', [1,2,3,4])->get();
$users = User::whereIn('id', array(1, 2, 3))->get();
DB::table('user')->whereIn('id', [100,200])->get();
$users = User::whereIn('id', array(1, 2, 3))->get();