📅  最后修改于: 2022-03-11 14:59:17.827000             🧑  作者: Mango
$flight = Flight::updateOrCreate(
['departure' => 'Oakland', 'destination' => 'San Diego'],
['price' => 99, 'discounted' => 1]
);