withStages( )


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 pipeline stages to the aggregation pipeline.

Stages are processed sequentially in the order they are provided, with each stage's output becoming the input for the next stage.

Method Declaration
Copy
Method Parameters
stagesArray<PipelineStage>

Array of pipeline stages.

Returns
Return Type:PipelineBuilder
Errors

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

Did this help?