mongodb dropping all collections code example Example: mongodb remove all from collection db.collection.remove({})