Unit 'fpexprpars' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFPExpressionParser.HasAggregate

Check if expression contains aggregates

Declaration

Source position: fpexprpars.pp line 785

public function TFPExpressionParser.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.


Documentation generated on: Dec 15 2025