Skip to content

Commit

Permalink
Added getChildren to the DmlRecord
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-baillie-ortoo committed Mar 22, 2022
1 parent 3f1ea97 commit a99c196
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@ public virtual inherited sharing class DmlRecord
return this.childRecordsByType.get( childRecordType );
}

protected List<Sobject> getChildren( String childRecordType )
{
return getChildDefiner( childRecordType ).getSobjects();
}

/**
* Sets the DmlDefinerOptions for the given child relationship.
*
Expand Down

0 comments on commit a99c196

Please sign in to comment.