delete all documents in collection where condition match mongodb code example Example: mongo delete all documents db.bios.remove( { } )