R/utils_connect_database.R
connect_stage_collections.Rd
Connect to the e-mission's MongoDB database
connect_stage_collections( db = "Stage_database", collections = COLLECTIONS, url = getOption("emdash.mongo_url") )
db | database name. Default as 'Stage_database'. |
---|---|
collections | collections to connect to, by default this try to connect to all the collections in [COLLECTIONS]. |
url | address of the emisison mongodb server in mongo connection string [URI format](https://docs.mongodb.com/manual/reference/connection-string/). The default is `getOption('emdash.mongo_url')` |
a list of mongolite connection objects.