QueryReduceOperation<T extends ManagedObject> class Null safety

Executes aggregate functions like average, count, sum, etc.

See instance methods for available aggregate functions.

See Query.reduce for more details on usage.

Constructors

QueryReduceOperation()

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

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. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
sum<U extends num>(U? selector(T object)) Future<U?>
Finds the sum of some ManagedObject property. [...]
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited