parents and children. One parent can have many children and each child is assigned to a parent through a parent_id column.parents. Through a cascading delete, this delete query also deletes all children of that parent.parent row as the payload.parent row but also its now-deleted children rows as well? So that the old_record supplied to my function would look something like this: