QueryExecuteNumAggregation<OBJ, T extends num> extension

Aggregation operations for number query builders.

on

Methods

average() double

Available on QueryBuilder<OBJ, T?, QAfterProperty>, provided by the QueryExecuteNumAggregation extension

Calculates the average of all values. This only works for numeric values.
averageAsync() Future<double>

Available on QueryBuilder<OBJ, T?, QAfterProperty>, provided by the QueryExecuteNumAggregation extension

Calculates the average of all values. This only works for numeric values.
max() → T?

Available on QueryBuilder<OBJ, T?, QAfterProperty>, provided by the QueryExecuteNumAggregation extension

Finds the largest value matching the query.
maxAsync() Future<T?>

Available on QueryBuilder<OBJ, T?, QAfterProperty>, provided by the QueryExecuteNumAggregation extension

Finds the largest value matching the query.
min() → T?

Available on QueryBuilder<OBJ, T?, QAfterProperty>, provided by the QueryExecuteNumAggregation extension

Finds the smallest value matching the query. Null values are considered smaller than all other values.
minAsync() Future<T?>

Available on QueryBuilder<OBJ, T?, QAfterProperty>, provided by the QueryExecuteNumAggregation extension

Finds the smallest value matching the query. Null values are considered smaller than all other values.
sum() → T

Available on QueryBuilder<OBJ, T?, QAfterProperty>, provided by the QueryExecuteNumAggregation extension

Calculates the sum of all values. This only works for numeric values.
sumAsync() Future<T>

Available on QueryBuilder<OBJ, T?, QAfterProperty>, provided by the QueryExecuteNumAggregation extension

Calculates the sum of all values. This only works for numeric values.