Python MySQL. How to INSERT ON DUPLICATE KEY UPDATE from dictionary

后端 未结 0 973
清歌不尽
清歌不尽 2021-01-16 00:00

I am updating a MySQL database table from a Python dictionary where the keys are the database fields. I have an insert statement that works but what I really need is INSERT

相关标签:
回答
  • 消灭零回复
提交回复
热议问题