Soft Delete

Difficulty: Beginner

Question

What is a Soft Delete?

Answer

Flagging a row as 'deleted' (e.g., setting `is_deleted = true`) rather than physically removing it from the database. Allows for easy data recovery.

Concepts covered

Data Retention, Application Logic