laravel query get where code example Example: laravel find query foreach (Flight::where('foo', 'bar')->cursor() as $flight) { // }