Top "Node-mysql" questions

A pure node.

How does pool.query() and pool.getGetConnection() differ on connection.release()?

As i can understand every pool.query() will cost a connection and it is automatically release when it ends. based …

mysql node.js connection-pooling node-mysql
node-mysql Rethrow non-MySQL errors

I just switched my node api over to use node-mysql. It keeps suppressing my errors/stack traces making development and …

node.js node-mysql
node.js : For each over rows and update asynchronously?

I need to query rows from a database, process some information per row, and then update each row with the …

node.js asynchronous node-mysql
How does connectionLimit work in node mysql?

I quite don't understand how connectionLimit in mysql module works. I have created a connectionPool in following way: var connPool = …

mysql node.js express node-mysql
Node MySQL execute multiple queries the fastest possible

Which is the fastest method gets the query to MYSQL, and then comes back to output: console.log('queries finished', …

mysql node.js node-mysql async.js
node.js, express - executing mysql queries one after another within loops in a synchronous way

In my node.js, express app, I am making an ajax call with the superagent middleware. The call fetches database …

node.js asynchronous express node-mysql
SELECT WHERE IN in node-mysql

Does anyone know how to use SELECT WHERE IN in node-mysql? I've tried the code below, but I get the …

javascript node.js node-mysql
node-mysql connection.query() returns undefined

I'm using a node ws server built on einaros/ws. That server has to send queries to a database. For …

javascript node.js return undefined node-mysql
NodeJS / Express - Make Available MySQL Connection Object in Router File

I have the following in my app.js file: var mysql = require('mysql'); var connection = mysql.createConnection({ host: 'localhost', port: 3306, …

node.js express node-mysql
Node Mysql On Duplicate Key Update only updates unique row

I am using MySQL 5.7 with Node JS 6.11.0 and am trying to update a UNIQUE MySQL column whenever I insert a …

mysql node.js node-mysql