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()

Related Article: SQL Interview Questions
BY Best Interview Question ON 03 Dec 2019