Posts by Gustavo Bretas • 1 point
1 post
-
0
votes0
answers49
viewsQ: How to increment an external variable to a callback in Nodejs?
Hello! I want to increment the hierarchy variable, but I can’t do it. Can someone help me? function getHierarquia(id, req, res) { var hierarquia = ""; res.locals.connection.query('SELECT id,…