摘要: 1、on duplicate key 场景: a、copy代码 b、原代码中insert唯一键冲突失败后需要进行update操作,此时正常 c、copy后的场景中有部分字段是不需要覆盖的,会导致将有值的覆盖成null 坑级:✨✨✨✨✨ 由于代码路径在xml,非常难检测到。并且on duplicate 阅读全文
posted @ 2021-02-20 08:57 gabin 阅读(114) 评论(0) 推荐(0) 编辑