AggregateQuery class
A query that calculates aggregations (count, sum, average) over the result set of a Query on the server, without downloading the documents.
Properties
-
aggregateFields
→ List<
AggregateField> -
The aggregations to calculate.
final
-
aliases
→ Map<
String, AggregateField> ? -
The user-chosen aliases of the aggregations, null unless the query was
made with Query.aggregateWithAliases.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
query
→ Query<
Object?> -
The query whose result set is aggregated.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get(
) → Future< AggregateQuerySnapshot> - Runs the aggregations on the backend.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override