Executes aggregate functions like average, count, sum, etc.
See instance methods for available aggregate functions.
See Query.reduce for more details on usage.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
average(
num selector(T object)) → Future<double> -
Computes the average of some ManagedObject property.
-
count(
) → Future<int> -
Counts the number of ManagedObject instances in the database.
-
maximum<U>(
U selector(T object)) → Future<U> -
Finds the maximum of some ManagedObject property.
-
minimum<U>(
U selector(T object)) → Future<U> -
Finds the minimum of some ManagedObject property.
-
sum<U extends num>(
U selector(T object)) → Future<U> -
Finds the sum of some ManagedObject property.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited