cantina-mongo
MongoDB for Cantina applications
Provides
- app.mongo - an initialized MongoDB object
Configuration
-
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'
}
}
TerraEclipse
Developed byTerra Eclipse, Inc. is a nationally recognized political technology and strategy firm located in Santa Cruz, CA and Washington, D.C.