Have ideas to improve npm?Join in the discussion! »

    most-data-mysql

    0.1.10 • Public • Published

    most-data-mysql

    Most Web Framework MySQL Adapter

    Install

    $ npm install most-data-mysql

    Usage

    Register MySQL adapter on app.json as follows:

    "adapterTypes": [
        ...
        { "name":"MySQL Data Adapter", "invariantName": "mysql", "type":"most-data-mysql" }
        ...
    ],
    adapters: [
        ...
        { "name":"development", "invariantName":"mysql", "default":true,
            "options": {
              "host":"localhost",
              "port":3306,
              "user":"user",
              "password":"password",
              "database":"test"
            }
        }
        ...
    ]
    

    If you are intended to use MySQL data adapter as the default database adapter set the property "default" to true.

    Install

    npm i most-data-mysql

    DownloadsWeekly Downloads

    1

    Version

    0.1.10

    License

    BSD-3-Clause

    Last publish

    Collaborators

    • avatar