Table of Contents

Method Out

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Out<TInput>(IMongoCollection<TInput>, TimeSeriesOptions)

Creates a $out stage.

public static PipelineStageDefinition<TInput, TInput> Out<TInput>(IMongoCollection<TInput> outputCollection, TimeSeriesOptions timeSeriesOptions = null)

Parameters

outputCollection IMongoCollection<TInput>

The output collection.

timeSeriesOptions TimeSeriesOptions

The time series options.

Returns

PipelineStageDefinition<TInput, TInput>

The stage.

Type Parameters

TInput

The type of the input documents.