delete data from mongodb using command line query code example
Example 1: delete collection mongodb
db.collection.drop()
Example 2: mango to delete a collection
db.CollectionName.drop()
db.collection.drop()
db.CollectionName.drop()