How Do You Delete A Collection In MongoDB?
How Do You Delete A Collection In MongoDB? To delete a MongoDB Collection, use db. collection. drop() command. How do you delete a collection in database? db.collection.drop() Removes a collection from the database. The method also removes any indexes associated with the dropped collection. The method provides a wrapper around the drop command. How do