clay-driver-mysql
Mysql driver for ClayDB
Last updated 2 days ago by realglobe .
Apache-2.0 · Repository · Bugs · Original npm · Tarball
$ cnpm install clay-driver-mysql 
SYNC missed versions from official npm registry.

clay-driver-mysql

Build Status npm Version JS Standard

Mysql driver for ClayDB

Installation

$ npm install clay-driver-mysql --save

Usage

'use strict'

const { MysqlDriver } = require('clay-driver-mysql')

{
  const clayLump = require('clay-lump')
  let lump01 = clayLump({
    driver: new MysqlDriver('my-app', 'user01', 'xxxxxx', {})
  })
  /* ... */
}

API

clay-driver-mysql@5.2.1

Mysql driver for ClayDB

Functions

create(args) -> MysqlDriver

Create driver instance

Param Type Description
args *

MysqlDriver Class

Driver to save data into sqlite

Extends:

  • SequelizeDriver

new MysqlDriver(database, username, password, options)

Constructor of MysqlDriver class

Param Type Description
database string Name of database
username string Database username
password string Database password
options Object Optional settings
options.logging boolean,function Logging option
options.benchmark boolean Show benchmark

License

This software is released under the Apache-2.0 License.

Links

Maintainers (1)
Downloads
Today 4
This Week 4
This Month 90
Last Day 0
Last Week 49
Last Month 0
Dependencies (6)
Dev Dependencies (16)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |