Sign in Join
FPDoc Onlineexperiment

TAggregateCount.UpdateAggregate procedure

Member of TAggregateCountpublicIn unit fpExprPars

Update count aggregate with new value

Declaration

pascal
procedure UpdateAggregate; override

Description

The UpdateAggregate method increments the internal counter by one for each value encountered during the aggregation process. Unlike other aggregates, it does not examine the actual value content, only the presence of a value.

Each call to this method represents the processing of one item in the aggregation sequence, and the counter is incremented regardless of the value's type or content.

This simple counting approach makes the count aggregate efficient and applicable to any data type or value combination.

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