Node's MySQL's Queue's Pool
Small library that offers db connection pool management and simple query-queue flattener (streamliner?).
Works with node-mysql (https://github.com/felixge/node-mysql) module.
- Author: Radek Pycka
- License: BSD
Installation
$ npm install mysql-queue-pool
Usage
- Pool configuration:
var DBM = DBM; var dbconf = name: 'default' adapter: 'mysql' poolmax: 10 host: 'localhost' user: 'user' password: 'pass' database: 'test'; DBM;
- Running queries:
Import:
var query = query;
Invoke (crude user authentication):
var username = 'tester'; ;