0.1.0 • Published 9 years ago

mysql-client-pool v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

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