keyv-mysql

MySQL/MariaDB storage adapter for Keyv

You should upgrade to keyv@2 and used the scoped MySQL adapter @keyv/mysql
Last updated 3 years ago by lukechilds .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install keyv-mysql 
SYNC missed versions from official npm registry.

keyv-mysql keyv

MySQL/MariaDB storage adapter for Keyv

Build Status Coverage Status npm

MySQL/MariaDB storage adapter for Keyv.

Install

npm install --save keyv keyv-mysql

Usage

const Keyv = require('keyv');

const keyv = new Keyv('mysql://user:pass@localhost:3306/dbname');
keyv.on('error', handleConnectionError);

You can specify the table option.

e.g:

const keyv = new Keyv('mysql://user:pass@localhost:3306/dbname', { table: 'cache' });

License

MIT © Luke Childs

Current Tags

  • 1.0.2                                ...           latest (3 years ago)

6 Versions

  • 1.0.2 [deprecated]           ...           3 years ago
  • 1.0.1 [deprecated]           ...           3 years ago
  • 1.0.0 [deprecated]           ...           3 years ago
  • 0.2.1 [deprecated]           ...           3 years ago
  • 0.2.0 [deprecated]           ...           3 years ago
  • 0.1.0 [deprecated]           ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |