mongo.drop.database: Drop a database from a MongoDB server

Description Usage Arguments Details Value See Also Examples

View source: R/mongo.R

Description

Drop a database from MongoDB server. Removes the entire database and all collections in it.

Usage

1

Arguments

mongo

(mongo) A mongo connection object.

db

(string) The name of the database to drop.

Details

Obviously, care should be taken when using this command.

Value

(Logical) TRUE if successful; otherwise, FALSE

See Also

mongo.drop,
mongo.command,
mongo.rename,
mongo.count,
mongo.

Examples

1
2
3
4
5
6

jonkatz2/rmongodb documentation built on May 19, 2019, 7:30 p.m.