MySQL adapter for firenze.js ORM
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src require from lib. Dec 8, 2015
test upgrade to firenze v0.3 Dec 8, 2015
.babelrc upgrade to firenze v0.3 Dec 8, 2015
.editorconfig initial commit. May 28, 2015
.eslintrc upgrade to firenze v0.3 Dec 8, 2015
.gitignore upgrade to firenze v0.3 Dec 8, 2015
.npmignore initial commit. May 28, 2015
.travis.yml upgrade to firenze v0.3 Dec 8, 2015
LICENSE
README.md readme: updated. Dec 8, 2015
index.js upgrade to firenze v0.3 Dec 8, 2015
package.json 0.4.0 Dec 26, 2015

README.md

firenze-adapter-mysql

Build Status npm Join the chat at https://gitter.im/fahad19/firenze

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