Firebase.Firestore.AggregateQuery

A query that calculates aggregations over an underlying query.

Summary

Public attributes

Query => new Query(_proxy.query(), _firestore)
The query of aggregations that will be calculated.

Public functions

Equals(object obj)
override bool
Equals(AggregateQuery other)
bool
Compares this aggregate query with another for equality.
GetHashCode()
override int
GetSnapshotAsync(AggregateSource source)
Asynchronously executes the query.

Public attributes

Query

QueryQuery=>newQuery(_proxy.query(),_firestore)

The query of aggregations that will be calculated.

Public functions

Equals

overrideboolEquals(objectobj)

Equals

boolEquals(AggregateQueryother)

Compares this aggregate query with another for equality.

Details
Parameters
other
The aggregate query to compare this one with.
Returns
true if this aggregate query is equal toother ;false otherwise.

GetHashCode

overrideintGetHashCode()

GetSnapshotAsync

Task<AggregateQuerySnapshot>GetSnapshotAsync(AggregateSourcesource)

Asynchronously executes the query.

Details
Parameters
source
The source from which to acquire the aggregate results.
Returns
The results of the query.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2023-05-09 UTC.