How to do soft delete and hard delete in database?
Hello Shanmuga,
Hope you are doing well.
Recently @Akshay Deshpande š has explained well about soft delete.
Please check below post.
https://www.outsystems.com/forums/discussion/75330/soft-delete/
for delete data from entity you can have:
https://success.outsystems.com/Documentation/How-to_Guides/Data/How_to_delete_data_from_Entities#:~:text=Add%20a%20%22dummy%22%20Output%20Entity,data%20from%20th
Hope it helps you.
Regards,
Ajit Kurane.
Hello Shanmuga, To do a soft delete you can add an attribute to an entity called "isDeleted" or "isActive" (or anything you'd like). Then on the soft delete you update that attribute for the record you want to soft delete.Then in you aggregates in your application you filter out all of the isDeleted ones.
A hard delete can be done using the default delete functionality of an entity