Clay driver for Sequelize
$ npm install clay-driver-sequelize --save
'use strict'
const { SequelizeDriver } = require('clay-driver-sequelize')
{
const clayLump = require('clay-lump')
let lump01 = clayLump({
driver: new SequelizeDriver('my-app', 'user01', 'xxxxxx', {
dialect: 'mysql'
})
})
/* ... */
}
Clay driver for Sequelize
SequelizeDriver
Class
SequelizeDriver
Create driver instance
Param | Type | Description |
---|---|---|
args | * |
SequelizeDriver
ClassAbstract driver
Extends:
Driver
Constructor of SequelizeDriver class
Param | Type | Description |
---|---|---|
database | string | Name of database |
username | string | Database username |
password | string | Database password |
options | Object | Optional settings |
This software is released under the Apache-2.0 License.