Method AppendStage

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

AppendStage(PipelineStageDefinition<TResult, TNewResult>)

Appends the stage to the pipeline.

IAggregateFluent<TNewResult> AppendStage<TNewResult>(PipelineStageDefinition<TResult, TNewResult> stage)

Parameters

stage PipelineStageDefinition<TResult, TNewResult>

The stage.

Returns

IAggregateFluent

The fluent aggregate interface.

Type Parameters

TNewResult

The type of the result of the stage.