Closed CodeInDreams closed 2 years ago
MySQL,主键id+另一唯一索引abc,生成的SQL where语句应该是 WHERE id=xxx AND abd=yyy,但实际却是 WHERE id=xxx AND abd=yyy AND col3=... AND col4=... AND ...
id
abc
WHERE id=xxx AND abd=yyy
WHERE id=xxx AND abd=yyy AND col3=... AND col4=... AND ...
MySQL,主键
id
+另一唯一索引abc
,生成的SQL where语句应该是WHERE id=xxx AND abd=yyy
,但实际却是WHERE id=xxx AND abd=yyy AND col3=... AND col4=... AND ...