@endb/mysql
v1.3.0
Published
MySQL/MariaDB adapter for Endb
Downloads
9
Readme
@endb/mysql
MySQL/MariaDB adapter for Endb
Installation
npm install @endb/mysql
Usage
const Endb = require('endb');
const endb = new Endb('mysql://user:pass@localhost:3306/dbname');
const EndbMysql = require('@endb/mysql');
const store = new EndbMysql({
uri: 'mysql://user:pass@localhost:3306/dbname',
table: 'cache',
keySize: 255,
});
const endb = new Endb({ store });