all in laravel eloquent 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();