@tadashi/mysql-pool

2.1.0 • Public • Published

mysql-pool

NPM version Build Status Coverage Status

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

See documentation

License

MIT © Thiago Lagden

Install

npm i @tadashi/mysql-pool

DownloadsWeekly Downloads

0

Version

2.1.0

License

MIT

Unpacked Size

5.76 kB

Total Files

6

Last publish

Collaborators

  • lagden