xxxxxxxxxx
db.products.remove( { qty: { $gt: 20 } } )
xxxxxxxxxx
# To remove all documents in a collection, call the remove method with an empty query
# document {}. The following operation deletes all documents from the bios collection:
db.bios.remove( { } )
xxxxxxxxxx
Removes ALL: db.<collectionName>.remove({})
Example: db.users.remove({id: 73465872012183})