3.0.7 • Published 5 years ago

modelar-mysql-adapter v3.0.7

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

Modelar-MySQL-Adapter

This is an adapter for Modelar to connect MySQL/Maria database.

(This module is internally included by Modelar, you don't have to download it before using it.)

Prerequisites

  • NodeJS version higher than 4.0.0.

How To Use

const { DB } = require("modelar");

DB.init({
    type: "mysql", // Or 'maria' to connect MariaDB.
    database: "modelar",
    host: "127.0.0.1",
    port: 3306,
    user: "root",
    password: "******"
});

A Tip

When connecting to MySQL, uses InnoDB as engine; when connecting to MariaDB, uses Aria as engine; transactions are always enabled.

How To Test

This module is internally included by Modelar, so are the tests, you should test Modelar instead (if you are going to).

3.0.7

5 years ago

3.0.6

6 years ago

3.0.5

6 years ago

3.0.4

6 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago