$model = App\Flight::where('name', 'Mike')->firstOrFail();
$model = App\Models\Flight::findOrFail(1); $model = App\Models\Flight::where('legs', '>', 100)->firstOrFail();