MongoDB for Cantina applications
- app.mongo - an initialized MongoDB object
- mongo - Options for creating the MongoDB client
- hosts -
String
orArray
ofhost[:port]
combinations.port
is optional. (default:localhost:27017
) - db -
String
name of the database (default:cantina
) - auth -
Object
hash containingusername
andpassword
(default: none) - options -
Object
hash of connection specific options (default: none)
- hosts -
Defaults
{
mongo: {
hosts: 'localhost:27017',
db: 'cantina'
}
}
Developed by TerraEclipse
Terra Eclipse, Inc. is a nationally recognized political technology and strategy firm located in Santa Cruz, CA and Washington, D.C.