@themost/mongo

2.1.1 • Public • Published

most-data-mongo

Most Web Framework MongoDB Adapter

##Install

$ npm install most-data-mongo

##Usage

Register MongoDB adapter on app.json as follows:

"adapterTypes": [
    ...
    { "name":"MongoDB Data Adapter", "invariantName": "mongo", "type":"most-data-mongo" }
    ...
]

adapters: [
    ...
    { "name":"mongo-db", "invariantName":"mongo", "default":false,
        "options": {
          "host":"localhost",
          "port":27017,
          "database":"db"
        }
    }
    ...
]

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

Most Web Framework MongoDB Adapter is under development.

Dependencies (1)

Dev Dependencies (1)

Package Sidebar

Install

npm i @themost/mongo

Weekly Downloads

8

Version

2.1.1

License

BSD-3-Clause

Unpacked Size

26.3 kB

Total Files

4

Last publish

Collaborators

  • themost