mysql-client-pool

0.1.0 • Public • Published

mysql-client-pool

npm version

Mysql client pool which support promise api and auto manage connection pool.

Install

NPM

$ npm i --save mysql-client-pool

Usage

var MysqlClientPool = require('mysql-client-pool');
 
var options = {};
var mysqlClientPool = new MysqlClientPool(options);
 
var sql = 'select * from users limit 0,20';
mysqlClientPool.query(sql).then(function (results) {
  // 
});

Options

todo

Licences

MIT

Package Sidebar

Install

npm i mysql-client-pool

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • jerrywu