ArithmeticAggregates<DT extends num> extension

Provides aggregate functions that are available for numeric expressions.

on

Methods

avg({Expression<bool?>? filter}) Expression<double?>

Available on Expression<DT?>, provided by the ArithmeticAggregates extension

Return the average of all non-null values in this group.
max({Expression<bool?>? filter}) Expression<DT?>

Available on Expression<DT?>, provided by the ArithmeticAggregates extension

Return the maximum of all non-null values in this group.
min({Expression<bool?>? filter}) Expression<DT?>

Available on Expression<DT?>, provided by the ArithmeticAggregates extension

Return the minimum of all non-null values in this group.
sum({Expression<bool?>? filter}) Expression<DT?>

Available on Expression<DT?>, provided by the ArithmeticAggregates extension

Calculate the sum of all non-null values in the group.
total({Expression<bool?>? filter}) Expression<double?>

Available on Expression<DT?>, provided by the ArithmeticAggregates extension

Calculate the sum of all non-null values in the group.