Answers for "how to delete all data in a mongodb collection"

4

mongodb remove all from collection

db.collection.remove({})
Posted by: Guest on December-21-2020

Code answers related to "how to delete all data in a mongodb collection"

Browse Popular Code Answers by Language