3

我有一个函数来运行带有承诺和更新查询的 mysql2 nodejs

这是输出

{
        "fieldCount": 0,
        "affectedRows": 1,
        "insertId": 0,
        "info": "Rows matched: 1  Changed: 1  Warnings: 0",
        "serverStatus": 3,
        "warningStatus": 0,
        "changedRows": 1
}

但在数据库中的值不会改变

这是我的 lambda 脚本

gist github 中的脚本

4

0 回答 0