I have been using felixge/node-mysql with NodeJS to connect MySQL !
Following query not executing and not throwing any error also.
var mysql = require('mysql');
client.query('USE userrecorddetails');
client.query(
'select count(1) as cnt as userstatus where id = 2353',
function (err, results, fields) {
if (err) {
throw err;
}
})
Note : the above query have zero records for that id 2353.
If any record is available, then i can able to get the output from the above query.
Please any help on this.