FirebaseFirestore Framework Reference

FunctionExpression

public class FunctionExpression : Expression, BridgeWrapper, @unchecked Sendable

Represents a function call in a pipeline.

A FunctionExpression is an expression that represents a function call with a given name and arguments.

FunctionExpressions are typically used to perform operations on data in a pipeline, such as mathematical calculations, string manipulations, or array operations.

  • Creates a new FunctionExpression.

    Declaration

    Swift

    public init(functionName: String, args: [Expression])

    Parameters

    functionName

    The name of the function.

    args

    The arguments to the function.