mongodb delete record by query code example
Example 1: mongodb remove all from collection
db.collection.remove({})
Example 2: delete all of something in mongo shell
Removes ALL: db.<collectionName>.remove({})
Example: db.users.remove({id: 73465872012183})