Back to Firebase Js Sdk

AliasedAggregate class

docs-devsite/firestore_pipelines.aliasedaggregate.md

12.12.11.7 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 %}

AliasedAggregate class

An AggregateFunction with alias.

<b>Signature:</b>

typescript
export declare class AliasedAggregate 

Constructors

ConstructorModifiersDescription
(constructor)(aggregate, alias, _methodName)Constructs a new instance of the <code>AliasedAggregate</code> class

Properties

PropertyModifiersTypeDescription
aggregateAggregateFunction
aliasstring

AliasedAggregate.(constructor)

Constructs a new instance of the AliasedAggregate class

<b>Signature:</b>

typescript
constructor(aggregate: AggregateFunction, alias: string, _methodName: string | undefined);

Parameters

ParameterTypeDescription
aggregateAggregateFunction
aliasstring
_methodNamestring | undefined

AliasedAggregate.aggregate

<b>Signature:</b>

typescript
readonly aggregate: AggregateFunction;

AliasedAggregate.alias

<b>Signature:</b>

typescript
readonly alias: string;