Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

clay-driver-sequelize

6.6.13 • Public • Published

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.6.12

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

Keywords

install

npm i clay-driver-sequelize

Downloadsweekly downloads

482

version

6.6.13

license

Apache-2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability