Back to Firebase Js Sdk

AggregateField class

docs-devsite/firestore_.aggregatefield.md

12.12.11.2 KB
Original Source

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.

<b>Signature:</b>

typescript
export declare class AggregateField<T> 

Properties

PropertyModifiersTypeDescription
aggregateTypeAggregateTypeIndicates 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.

<b>Signature:</b>

typescript
readonly aggregateType: AggregateType;

AggregateField.type

A type string to uniquely identify instances of this class.

<b>Signature:</b>

typescript
readonly type = "AggregateField";