Update count aggregate with new value
Source position: fpexprpars.pp line 699
public procedure TAggregateCount.UpdateAggregate; override; |
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.