SQLite Forum

How should RETURNING work with a cascading delete?
Login
Prefer

>If you have a RETURNING clause, presumably you want to see every row that has been deleted, regardless of whether or not that row was deleted directly or via a cascading delete.

This gives me the option to <i>undo</i>.