MySQL/MariaDB storage adapter for Keyv
$ cnpm install keyv-mysql
MySQL/MariaDB storage adapter for Keyv
MySQL/MariaDB storage adapter for Keyv.
npm install --save keyv keyv-mysql
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' });
MIT © Luke Childs
Copyright 2014 - 2016 © taobao.org |