Why my code is not working with execute method and only works with query method?
I’m trying to insert data from postman, using the column I get from req.body
.
cannot understand why my code is not working with excute and only works with query
I am new to mysql and node.js and i don’t what am doing wrong with code but for some reason it only works with conn.query and not conn.excute
How to make execute/query in mysql2 return array instead of mysql.QueryResult
I’ve written this test query: