Methods
drop()
The drop() method is used to interact with collections in MongoDB.
drop()
The drop() method is used to interact with collections in MongoDB.
Syntax
db.collection.drop(...)
Example
db.users.drop(...)The drop() method is used to interact with collections in MongoDB.
The drop() method is used to interact with collections in MongoDB.
db.collection.drop(...)
db.users.drop(...)