Files
firebase-js-sdk/docs-devsite/firestore_pipelines.aliasedaggregate.md

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

AliasedAggregate class

An AggregateFunction with alias.

Signature:

export declare class AliasedAggregate 

Constructors

Constructor Modifiers Description
(constructor)(aggregate, alias, _methodName) Constructs a new instance of the AliasedAggregate class

Properties

Property Modifiers Type Description
aggregate AggregateFunction
alias string

AliasedAggregate.(constructor)

Constructs a new instance of the AliasedAggregate class

Signature:

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

Parameters

Parameter Type Description
aggregate AggregateFunction
alias string
_methodName string | undefined

AliasedAggregate.aggregate

Signature:

readonly aggregate: AggregateFunction;

AliasedAggregate.alias

Signature:

readonly alias: string;