Files
firebase-js-sdk/docs-devsite/firestore_.aggregatefield.md
Mark DuckworthandGitHub 9f8db2d836 sum avg (#7502)
* Support sum and average aggregations.
2023-10-10 14:10:59 -04:00

1.2 KiB

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

AggregateField class

Represents an aggregation that can be performed by Firestore.

Signature:

export declare class AggregateField<T> 

Properties

Property Modifiers Type Description
aggregateType AggregateType Indicates the aggregation operation of this AggregateField.
type (not declared) A type string to uniquely identify instances of this class.

AggregateField.aggregateType

Indicates the aggregation operation of this AggregateField.

Signature:

readonly aggregateType: AggregateType;

AggregateField.type

A type string to uniquely identify instances of this class.

Signature:

readonly type = "AggregateField";