- Reference >
- JavaScript Methods >
- db.collection.drop()
db.collection.drop()¶
-
db.collection.
drop
()¶ Call the
db.collection.drop()
method on a collection to drop it from the database.db.collection.drop()
takes no arguments and will produce an error if called with any arguments.