laravel eloquent use orm or prepare 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();