📜  laravel 插入或忽略 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:54.690000             🧑  作者: Mango

代码示例1
insertOrIgnore([
    ['id' => 1, 'email' => 'taylor@example.com'],
    ['id' => 2, 'email' => 'dayle@example.com']
]);