mysql-query
NodeJS wrapper for MySQL query, based on “mysql” package
How to use
Let`s say you have MySQL connection as separated module like this
'use strict'; const mysql = ; let mySqlConnection = mysql; moduleexports = mySqlConnection;
Then you can use mysql-query
like this
'use strict'; const mysqlQuery = mysqlConnection = ; { const resolveHandler = rows { console; return err; } query = ` SELECT * FROM test WHERE answer = 42 `; return ;}