1.0.0-alpha4 • Published 10 years ago

gaiajs-driver-mongoose v1.0.0-alpha4

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

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