Mysql分页插入使用MySqlIgnore没有生效 返回
SqlSugar
处理完成
2
258

悬赏:0 飞吻
await db.Insertable(List<实体>).MySqlIgnore().PageSize(1000).ExecuteCommandAsync();
list集合里面插入数据库已经存在的主键 还是报主键重复, "Duplicate entry 'xxxxxx' for key 'PRIMARY'" 异常,不使用PageSize分页插入则正常
热忱回答(2)
-
fate sta VIP0
2024/12/31这个我支持一下
0 回复 -
fate sta VIP0
2025/1/3SqlSugarCore 5.1.4.173-preview06
已修复,勾预览
0 回复