delete mongodb document delete one code example Example: delete collection mongodb db.collection.drop()