更新MySQL会返回受影响的行,但实际上不会更新数据库[nodejs mysql2]

时间:2019-03-06 09:04:51

标签: mysql node.js nodes mysql2 node-mysql2

我具有使用promise和update查询运行mysql2 nodejs的功能,结果显示 { "fieldCount": 0, "affectedRows": 1, "insertId": 0, "info": "Rows matched: 1 Changed: 1 Warnings: 0", "serverStatus": 3, "warningStatus": 0, "changedRows": 1 }

但数据库中的内容不变

这是我的lambda脚本

script in gist github

感谢帮助

0 个答案:

没有答案
相关问题