updateChildHierarchyHelpers()
Overview
public void function updateChildHierarchyHelpers(
required query oldData
, required struct newData
)
This method is used internally by the Sitetree Service to ensure that all child nodes of a page have the most up to date helper fields when the parent node changes. This is implemented using some funky SQL that was beyond the capabilities of the standard Preside Object Service CRUD methods.
Arguments
Name | Type | Required | Description |
---|---|---|---|
oldData | query | Yes | Query record of the old parent node data |
newData | struct | Yes | Struct containing the changed fields on the parent node |