* chore(ci): make all firestore integration tests optional * fix: align expressions and pipelines, address review comments, update yarn.lock, and fix package versions * chore: update yarn.lock after merge * fix: restore firestore package version and devDependencies to 4.15.0
2.6 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 %}
FunctionExpression class
This class defines the base class for Firestore Pipeline functions, which can be evaluated within pipeline execution.
Typically, you would not use this class or its children directly. Use either the functions like and(), equal(), or the methods on Expression (Expression.equal(), Expression.lessThan(), etc.) to construct new Function instances.
Signature:
export declare class FunctionExpression extends Expression
Extends: Expression
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(name, params) | Constructs a new instance of the FunctionExpression class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| expressionType | ExpressionType | ||
| name | string | ||
| params | Expression[] |
FunctionExpression.(constructor)
Constructs a new instance of the FunctionExpression class
Signature:
constructor(name: string, params: Expression[]);
Parameters
| Parameter | Type | Description |
|---|---|---|
| name | string | |
| params | Expression[] |
FunctionExpression.expressionType
Signature:
readonly expressionType: ExpressionType;
FunctionExpression.name
Signature:
readonly name: string;
FunctionExpression.params
Signature:
readonly params: Expression[];