Method Out
Out<TInput, TOutput>(PipelineDefinition<TInput, TOutput>, IMongoCollection<TOutput>, TimeSeriesOptions)
Appends a $out stage to the pipeline.
public static PipelineDefinition<TInput, TOutput> Out<TInput, TOutput>(this PipelineDefinition<TInput, TOutput> pipeline, IMongoCollection<TOutput> outputCollection, TimeSeriesOptions timeSeriesOptions = null)
Parameters
pipeline
PipelineDefinition <TInput, TOutput>The pipeline.
outputCollection
IMongoCollection <TOutput>The output collection.
timeSeriesOptions
TimeSeries Options The time series options.
Returns
- Pipeline
Definition <TInput, TOutput> A new pipeline with an additional stage.
Type Parameters
TInput
The type of the input documents.
TOutput
The type of the output documents.