Description Usage Arguments Value
View source: R/utils_connect_database.R
Connect to the e-mission's MongoDB database
1 2 3 4 5 | 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.