Takes the documents returned by the aggregation pipeline and writes them to a specified collection.

Unlike in MongoDB, this operator can appear in any position in the pipeline and is useful for collecting intermediate results of an aggregation operation.

Note: Object are deep cloned for output regardless of the ProcessingMode.

See usage.