eloucant in laravel code example
Example: laravel update
$flight = App\Models\Flight::find(1);
$flight->name = 'New Flight Name';
$flight->save();
$flight = App\Models\Flight::find(1);
$flight->name = 'New Flight Name';
$flight->save();