remove all documents from a collection mongodb code example
Example 1: mongodb delete all documents
db.collection.delete_many( { } );
Example 2: delete all of something in mongo shell
Removes ALL: db..remove({})
Example: db.users.remove({id: 73465872012183})
Example 3: mango to delete a collection
db.CollectionName.drop()