3

I have a function to run mysql2 nodejs with promise and update query

Here is the output:

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

but in the database the values don't change

this my lambda script

script in gist github

herve
  • 3,825
  • 2
  • 18
  • 27
Aminudin
  • 109
  • 2
  • 8

0 Answers0