Pipeline implementing the $unionWith stage.
$unionWith
The context used to generate this pipeline.
Changes the type of the returned document, with no type-safety.
JSON representation of this pipeline.
Combines two aggregations into a single result set.
Creates a new pipeline that expands on the current one by adding stage.
Writes the entire pipeline into writer.