Soft delete pros and cons

Report a typo

Given the statements below, classify each as an advantage or disadvantage of using soft delete in GORM by ticking the correct box.

Choose one option for each row
Advantage Disadvantage
May conflict with data retention laws like the GDPR
Can lead to slower query performance due to excessive soft-deleted records
Allows for data recovery if a record is mistakenly deleted
Requires explicit handling with raw SQL queries as constraints like ON DELETE CASCADE will not work
Allows for keeping historical data for analytics and reporting
___

Create a free account to access the full topic