JSPM

  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q80297F
  • License Apache-2.0

Electrode OTA - MariaDB driver

Package Exports

  • electrode-ota-server-dao-mariadb

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (electrode-ota-server-dao-mariadb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

electrode-ota-server-dao-mariadb

This project is part of the electrode-ota-server

It is not meant to be used standalone, use at your own risk.

Install

% npm install electrode-ota-server-dao-mariadb

Usage

Specify connection information in the config options. Reference sequelizejs for config parameters.

"plugins": {
    "electrode-ota-server-dao-mariadb": {
        "config": {
            "host": "localhost",
            "port": 3306,
            "db": "example",
            "user": "root",
            "password": ""
        }
    }
}

Use this driver in DAO factory

"plugins": {
    "electrode-ota-server-dao-factory": {
        driver: "electrode-ota-server-dao-mariadb"
    }
}