Sign in Join
FPDoc Onlineexperiment

TCaseOperation.UpdateAggregate procedure

Member of TCaseOperationpublicIn unit fpExprPars

Update aggregate calculations for case operation

Declaration

pascal
procedure UpdateAggregate; override

Description

The UpdateAggregate method updates aggregate calculations for the case operation node during aggregate expression evaluation. It ensures that aggregate functions within the selected case branch are properly updated with current data values.

The update process involves evaluating the condition to determine the active case branch, then updating any aggregate functions contained within that branch, allowing proper aggregate calculation in conditional expressions.

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