drop_database: drop_database

Description Usage Arguments Details Value Examples

View source: R/drop_database.R

Description

Completly drops a database and all its collections

Usage

1
drop_database(database, creds)

Arguments

database

database name

creds

RDS credentials object

Details

DETAILS

Value

Returns message from mongo if sucessful, error message if not sucsessful

Examples

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)

ceparman/ShinyLIMS documentation built on May 20, 2020, 12:34 a.m.