📜  创建或更新 laravel 5.8 stackoverflow - PHP 代码示例
📅  最后修改于: 2022-03-11 14:53:51.055000             🧑  作者: Mango
代码示例1
$flight = App\Flight::updateOrCreate(
['departure' => 'Oakland', 'destination' => 'San Diego'],
['price' => 99]
);