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

NameTypeRequiredDescription
oldDataqueryYesQuery record of the old parent node data
newDatastructYesStruct containing the changed fields on the parent node