# Deleting Documents

Deleting Documents: Deleting Documents Safely.

Updated: November 19, 2026

1. [Deleting Documents Safely](https://www.ask-codey.com/lessons/mongodb-deleting-documents-safely) (Apprentice): deleteOne and deleteMany remove the documents a filter matches, with no undo, so you run the same filter with find first; an empty filter deletes everything, drop removes the whole collection, and a soft delete hides a document without losing it.

Source: https://www.ask-codey.com/courses/mongodb-in-depth/topics/mongodb-deleting-documents
