ArithmeticAggregates< DT extends num> extension
Provides aggregate functions that are available for numeric expressions.
- on
-
- Expression<
DT>
- Expression<
Methods
-
avg(
{Expression< bool>? filter}) → Expression< double> - Return the average of all non-null values in this group.
-
max(
{Expression< bool>? filter}) → Expression< DT> - Return the maximum of all non-null values in this group.
-
min(
{Expression< bool>? filter}) → Expression< DT> - Return the minimum of all non-null values in this group.
-
sum(
{Expression< bool>? filter}) → Expression< DT> - Calculate the sum of all non-null values in the group.
-
total(
{Expression< bool>? filter}) → Expression< double> - Calculate the sum of all non-null values in the group.