Oracle® Backend For Firebase JavaScript Namespace SDK Reference, Release 26.1.0
    Preparing search index...
    Oracle® Backend For Firebase JavaScript Namespace SDK Reference
    Release 26.1.0

    G48197-02

    AggregateQuery - Query class to store aggregate queries.

    Type Parameters

    • T = any
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    query: Query<T>

    Returns the underlying query over which the aggregations are applied.

    Path string.

    Methods

    • Executes the aggregate query and gets the result.

      Returns Promise<AggregateQuerySnapshot<T>>

      Returns snapshot of query result.

      Throws an error if requests fails.

    • Checks whether this AggregateQuery is equal to the provided one.

      Parameters

      Returns boolean

      Returns true if both queries are the same.

      Throws an error if q is not a AggregateQuery instance.