Re:Soft deletion probably isn't worth it
by thehappypm on Tuesday July 19, 2022 @04:39PM
(#32157654)
Assuming that the joins are always joined against the views, not the raw tables. This introduces an opportunity for a mistake.
Say I have a simple view `select * from foo join bar on foo.foo_id = bar.foo_id where foo.deleted_at is null`
I never have to worry about deleting from bar, because I should never grab a child when the parent is 'deleted'.