Class Pipelines.AliasedExpression (9.3.1)

Represents an expression that has been assigned an alias using the .as() method.

This class wraps an existing Expression and associates it with a user-defined alias, allowing the expression's result to be referred to by name in the output of a Firestore pipeline query.

Implements

firestore.Pipelines.Selectable
HasUserData

Package

@google-cloud/firestore

Constructors

(constructor)(_expr, _alias)

constructor(_expr: Expression, _alias: string);

Constructs a new instance of the AliasedExpression class

Parameters
Name Description
_expr Expression
_alias string

Properties

_alias

readonly _alias: string;

_expr

readonly _expr: Expression;

expressionType

expressionType: firestore.Pipelines.ExpressionType;

selectable

selectable: true;