mongodb delete query example Example 1: mongodb remove all from collection db.collection.remove({}) Example 2: delete collection mongodb db.collection.drop()