@endb/mysql
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

@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 });

/@endb/mysql/

    Package Sidebar

    Install

    npm i @endb/mysql

    Homepage

    endb.js.org/

    Weekly Downloads

    5

    Version

    1.3.0

    License

    MIT

    Unpacked Size

    2.3 kB

    Total Files

    6

    Last publish

    Collaborators

    • chroventer