Answers for "update data using laravel Eloquent Model"

PHP
1

update data using laravel Eloquent Model

use App\Models\Flight;

$flight = Flight::find(1);

$flight->name = 'Paris to London';

$flight->save();
Posted by: Guest on March-30-2021

Code answers related to "update data using laravel Eloquent Model"

Browse Popular Code Answers by Language