mongo.drop: Drop a collection from a MongoDB server

Description Usage Arguments Details Value See Also Examples

View source: R/mongo.R

Description

Drop a collection from a database on MongoDB server. This removes the entire collection.

Usage

1

Arguments

mongo

(mongo) A mongo connection object.

ns

(string) The namespace of the collection to drop.

Details

Obviously, care should be taken when using this command.

Value

(Logical) TRUE if successful; otherwise, FALSE

See Also

mongo.drop.database,
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.