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

    AggregateField - Represents the aggregation that needs to be applied.

    Index

    Constructors

    Methods

    Constructors

    Methods

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

      Parameters

      Returns boolean

      Returns true if both AggregateField instances are the same.

      Throws an error if other is not an AggregateField instance.

    • Creates a AggregateField instance for average operation.

      Parameters

      • field: string | FieldPath

        Field name to which operation needs to be applied.

      Returns AggregateField

      A new AggregateField instance.

    • Creates a AggregateField instance for count operation.

      Returns AggregateField

      A new AggregateField instance.

    • Creates a AggregateField instance for sum operation.

      Parameters

      • field: string | FieldPath

        Field name to which operation needs to be applied.

      Returns AggregateField

      A new AggregateField instance.