1.0.2 • Published 8 years ago
keyv-mysql v1.0.2
keyv-mysql
MySQL/MariaDB storage adapter for Keyv
MySQL/MariaDB storage adapter for Keyv.
Install
npm install --save keyv keyv-mysqlUsage
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