gaiajs-driver-mongoose

1.0.0-alpha4 • Public • Published

Build Status Dependency Status NPM version

Mongoose driver for gaiajs

Configuration

{
  name: 'default', //name of persistence
  driver: 'gaiajs-driver-mongoose',//name or absolute path of driver
  connectionUri: "mongodb://localhost/test",//connection uri
  connection: {
    server: 'localhost', //server host
    user: '', //user - Optional
    password: '', //password - Optional
    database: 'timeline' // database name
  },
 
  options:{}
}

Driver use uri on priority then connection object. if there is no connection configured, gaiajs use mongodb://localhost/test.

To know the driver options, go to the documentation mongoose

Authors

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i gaiajs-driver-mongoose

Weekly Downloads

1

Version

1.0.0-alpha4

License

MIT

Last publish

Collaborators

  • eyolas