docs-devsite/firestore_lite_pipelines.aliasedaggregate.md
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 %}
An AggregateFunction with alias.
<b>Signature:</b>
export declare class AliasedAggregate
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(aggregate, alias, _methodName) | Constructs a new instance of the <code>AliasedAggregate</code> class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| aggregate | AggregateFunction | ||
| alias | string |
Constructs a new instance of the AliasedAggregate class
<b>Signature:</b>
constructor(aggregate: AggregateFunction, alias: string, _methodName: string | undefined);
| Parameter | Type | Description |
|---|---|---|
| aggregate | AggregateFunction | |
| alias | string | |
| _methodName | string | undefined |
<b>Signature:</b>
readonly aggregate: AggregateFunction;
<b>Signature:</b>
readonly alias: string;