QueryAggregation<T extends num> extension

Extension for Queries

on

Methods

average() Future<double>

Available on Query<T?>, provided by the QueryAggregation extension

Returns the average value of this query.
averageSync() double

Available on Query<T?>, provided by the QueryAggregation extension

Returns the average value of this query.
max() Future<T?>

Available on Query<T?>, provided by the QueryAggregation extension

Returns the maximum value of this query.
maxSync() → T?

Available on Query<T?>, provided by the QueryAggregation extension

Returns the maximum value of this query.
min() Future<T?>

Available on Query<T?>, provided by the QueryAggregation extension

Returns the minimum value of this query.
minSync() → T?

Available on Query<T?>, provided by the QueryAggregation extension

Returns the minimum value of this query.
sum() Future<T>

Available on Query<T?>, provided by the QueryAggregation extension

Returns the sum of all values of this query.
sumSync() → T

Available on Query<T?>, provided by the QueryAggregation extension

Returns the sum of all values of this query.