A bluebird wrapper for node-mysql
Promise-mysql
Promise-mysql is a wrapper for mysqljs/mysql that wraps function calls with Bluebird promises.
API
mysql.createConnection(connectionOptions)
This will return a the promise of a connection object.
Parameters
connectionOptions object: A connectionOptions object
Return value
A Bluebird Promise that resolves to a connection object
mysql.createPool(connectionOptions)
This will return a the promise of a pool object.
Parameters
connectionOptions object: A connectionOptions objec