firenze-adapter-mysql
v0.4.0
Published
MySQL adapter for firenze.js ORM
Downloads
6
Maintainers
Readme
firenze-adapter-mysql
MySQL adapter for firenze.js ORM
Install it with npm:
$ npm install --save firenze firenze-adapter-mysql
Usage
var f = require('firenze');
var Database = f.Database;
var MysqlAdapter = require('firenze-adapter-mysql');
var db = new Database({
adapter: MysqlAdapter,
host: '127.0.0.1',
port: 3306,
database: 'my_database',
user: 'root',
password: '',
pool: {
min: 0,
max: 1
}
});
Testing
Tests are written with mocha, and can be run via this command:
$ npm test
License
MIT © Fahad Ibnay Heylaal