gaiajs-driver-mongoose
v1.0.0-alpha4
Published
driver with mongoose for gaia
Downloads
9
Readme
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