3.0.0 • Published 7 years ago

akyuu-adapter-toshihiko v3.0.0

Weekly downloads
8
License
MIT
Repository
github
Last release
7 years ago

akyuu-adapter-toshihiko

Toshihiko adapter for Akyuujs.

Installation

$ npm install --save -d akyuu-adapter-toshihiko

Configuration

Make sure you have a connections section in your configuration file(s).

And its adapter should be toshihiko.

optionrequiredremark
adaptermust be toshihiko
dialectdefault to "mysql", see Toshihiko's document
...see Toshihiko's document

A Probably Demo Configuration File

Filename: ./config/default/connections.js

module.exports = {
    main: {
        adapter: "toshihiko",
        dialect: "mysql",
        database: "test",
        username: "root",
        password: "",
        host: "127.0.0.1",
        port: 3306,
        showSql: true,
        charset: "utf8mb4_bin"
    }
};