Sign in Join
FPDoc Onlineexperiment

TFPBinaryOperation.HasAggregate function

Member of TFPBinaryOperationpublicIn unit fpExprPars

Check if binary operation contains aggregates

Declaration

pascal
function HasAggregate: Boolean; override

Function result

Returns true if operation has aggregates

Description

The HasAggregate method checks whether either the left or right operand contains aggregate expressions. It returns True if any of the operands has aggregate functionality, which indicates that special aggregate processing is required for this operation.

The method is used by the expression parser to identify operations that need aggregate handling and to ensure proper processing order for aggregate expressions.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.