Sign in Join
FPDoc Onlineexperiment

TFPExpressionParser.HasAggregate function

Member of TFPExpressionParserpublicIn unit fpExprPars

Check if expression contains aggregates

Declaration

pascal
function HasAggregate: Boolean

Function result

Returns true if expression has aggregates

Description

The HasAggregate method determines whether the current expression contains any aggregate functions such as Sum, Count, Average, Min, or Max. Aggregate functions require special handling during evaluation.

This information is important for determining the evaluation strategy, as expressions with aggregates may need multiple evaluation passes or special initialization steps.

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