Description Usage Arguments Details Value Examples
View source: R/drop_database.R
Completly drops a database and all its collections
1 | drop_database(database, creds)
|
database |
database name |
creds |
RDS credentials object |
DETAILS
Returns message from mongo if sucessful, error message if not sucsessful
1 2 3 4 5 6 7 8 9 | ## Not run:
if(interactive()){
#EXAMPLE1
d <- drop_database(lims_database,creds)
expect_equal(d$ok,1)
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.