Posts by Yuri Henrique • 11 points
1 post
-
0
votes0
answers67
viewsQ: Changing the value of a variable within a nodejs function
userFoundId = undefined; const result = connection.query('SELECT id FROM users WHERE name = :name and password = :password', data, (err, result) => { userFoundId = result[0].id //Valor alterado…
node.jsasked Yuri Henrique 11