TFPExprNode.HasAggregate function
Check if node tree contains any aggregate operations
Declaration
function HasAggregate: Boolean; virtualFunction result
Returns true if tree has aggregate operations
Description
The HasAggregate method examines the expression subtree rooted at this node to determine if it contains any aggregate operations.
It returns True if this node or any of its descendant nodes represents an aggregate operation.
The method recursively checks child nodes to detect aggregate functions anywhere in the expression tree. This information is used by the expression evaluator to determine if aggregate processing is required for the expression.
Unlike IsAggregate which only checks the current node, this method performs a search of the entire subtree.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
