New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

clay-driver-mysql

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clay-driver-mysql

Mysql driver for ClayDB

latest
Source
npmnpm
Version
5.2.42
Version published
Weekly downloads
50
-21.87%
Maintainers
1
Weekly downloads
 
Created
Source

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

Mysql driver for ClayDB

Functions

create(args) -> MysqlDriver

Create driver instance

ParamTypeDescription
args*

MysqlDriver Class

Driver to save data into sqlite

Extends:

  • SequelizeDriver

new MysqlDriver(database, username, password, options)

Constructor of MysqlDriver class

ParamTypeDescription
databasestringName of database
usernamestringDatabase username
passwordstringDatabase password
optionsObjectOptional settings
options.loggingboolean,functionLogging option
options.benchmarkbooleanShow benchmark

License

This software is released under the Apache-2.0 License.

Keywords

ClayDB

FAQs

Package last updated on 08 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts