Check if node tree contains any aggregate operations
Source position: fpexprpars.pp line 124
public function TFPExprNode.HasAggregate: Boolean; virtual; |
Returns true if tree has aggregate operations
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.