问题描述
如何在Golang中执行批量更新查询?例如,我想在一个查询中执行这些查询。
update product set product_name='AAAA' where product_id='1'
update product set product_name='BBB' where product_id='2'
update product set product_name='CCC' where product_id='3'
update product set product_name='DDDD' where product_id='4'
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)