delete all items in mongdb function code example
Example 1: delete all of something in mongo shell
Removes ALL: db.<collectionName>.remove({})
Example: db.users.remove({id: 73465872012183})
Example 2: find All and delete in mongodb
db.products.remove( { qty: { $gt: 20 } } )