DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

To Delete or to Soft Delete, That is the Question!

4 years ago dzone.com
To Delete or to Soft Delete, That is the Question!

Summary: This is a summary of an article originally published by the source. Read the full original article here →

by It allows you to mark some records as deleted without actual erasure from the database.

Consider the following requirements in addition to “simple data restore” before making a decision on using soft deletion in your project: If you see that your business requirements match the list above, it means that you may need to implement the “Soft Delete” feature in your application.

You just add the “Is_Deleted” or “Delete_Date” column to your tables (or attributes to your Document) and replace all delete statement invocations in your application code to updates.

To comply with this you still need to implement a “purge” process in addition to soft delete.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com