To drop a collection in MongoDB, connect to the database where you want to delete the collection.

Type the following command for deleting: db.collection_name.drop()

Suggest An Answer

No suggestions avaliable!