Questions tagged [cascadedelete]

A cascade delete is the scenario in which child records of a deleted record are also automatically removed from the system as part of the original, single action of deleting the parent.

2 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
138 views

How many child records can a parent cascade delete (documented limit)?

I have a CustomObject__c which has childrens 2 level deep. Together a single parent object can have many 10.000 child records. Would it work to auto-delete the thousands ob child records just using a ...
0
votes
0answers
29 views

SOQL Query records deleted by cascade

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' ...