I have a soql query ran in a trigger on AfterDelete of parent that finds all deleted objects that are children of this parent. It looks like this:
SELECT Id, FROM child_object_c where ParentID='123' AND IsDeleted=true ALL ROWS
However, what I really need is to only get the children records that were deleted as a result of a cascade delete from the parent. This query currently includes all deleted children, not just the ones from cascade deletes.
Is there any way to filter the query on whether a record deletion was from a cascade delete?