DELETE CASCADE

12 views
Skip to first unread message

Sampson Crowley

unread,
Dec 3, 2021, 8:59:59 AM12/3/21
to database_cleaner
Is there a reason that simple DELETE CASCADE statements are not supported?

Why is truncate the *only* option for cascading on delete? Cascading *only* the records that are deleted seems *much* safer than truncating every connected table to a table being truncated, which might be in the "except" group
Reply all
Reply to author
Forward
0 new messages