node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

clay-driver-sequelize

clay-driver-sequelize

Build Status npm Version JS Standard

Clay driver for Sequelize

Installation

$ npm install clay-driver-sequelize --save

Usage

'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'
    })
  })
  /* ... */
}
 

API

clay-driver-sequelize@6.4.5

Clay driver for Sequelize

Functions

create(args) -> SequelizeDriver

Create driver instance

Param Type Description
args *

SequelizeDriver Class

Abstract driver

Extends:

  • Driver

new SequelizeDriver(database, username, password, options)

Constructor of SequelizeDriver class

Param Type Description
database string Name of database
username string Database username
password string Database password
options Object Optional settings

License

This software is released under the Apache-2.0 License.

Links