Answers for "mongo drop all collections in database"

4

mongodb remove all from collection

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

remove all db entries from mongo

db.users.remove({})
Posted by: Guest on June-28-2021

Code answers related to "mongo drop all collections in database"

Browse Popular Code Answers by Language