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