mysql-pool
Make pooling connections with MySQL
Install
$ npm i -S @tadashi/mysql-pool
Usage
import MysqlPool from '@tadashi/mysql-pool'
const pool = new MysqlPool()
const {results: [{total}]} = await pool.query('SELECT 1 + ? as total', [1])
// => 2
API
License
MIT © Thiago Lagden