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