Open tuhaolam opened 1 week ago
The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the Question
template, most likely your question already answered https://github.com/go-gorm/gorm/issues or described in the document https://gorm.io ✨ Search Before Asking ✨
1、问题: gorm.DB.Clauses(clause.OnConflict{UpdateAll: true})在执行CreateInBatches时不生效,反复出现同样的报错信息,并且更新失败,表存在唯一索引
idx_ns_domain_path
,由ns
和domain_path
字段构成:2、环境