AggregateQueryPlatform class abstract

AggregateQueryPlatform represents the data at a particular location for retrieving metadata without retrieving the actual documents.

Inheritance
  • Object
  • PlatformInterface
  • AggregateQueryPlatform

Properties

hashCode int
The hash code for this object.
no setterinherited
query QueryPlatform
The QueryPlatform instance to which this AggregateQueryPlatform queries against to retrieve the metadata.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

average(String field) AggregateQueryPlatform
Returns an AggregateQuerySnapshotPlatform with the average of the values of the documents that match the query.
count() AggregateQueryPlatform
Returns an AggregateQuerySnapshotPlatform with the count of the documents that match the query.
get({required AggregateSource source}) Future<AggregateQuerySnapshotPlatform>
Returns an AggregateQuerySnapshotPlatform with the count of the documents that match the query.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sum(String field) AggregateQueryPlatform
Returns an AggregateQuerySnapshotPlatform with the sum of the values of the documents that match the query.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

verify(AggregateQueryPlatform instance) → void
Throws an AssertionError if instance does not extend AggregateQueryPlatform.
override