Do nothing on conflict db.Clauses(clause.OnConflict{DoNothing: true}).Create(&user) // Update columns to default value on `id` conflict
確定! 回上一頁