add( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Adds the specified expressions.

The add() method configures the aggregation pipeline to add the values of the specified expressions.

Method Declaration
Copy
Method Parameters
expressionsArray<Expression>

Expressions to add together. All expressions must resolve to numbers.

Returns
Return Type:AddExpression
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?