Click or drag to resize
AggregateFluentBase<TResult>.Unwind<TNewResult> Method (FieldDefinition<TResult>, IBsonSerializer<TNewResult>)
Appends an unwind stage to the pipeline.

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.2.0
Syntax
public abstract IAggregateFluent<TNewResult> Unwind<TNewResult>(
	FieldDefinition<TResult> field,
	IBsonSerializer<TNewResult> newResultSerializer
)

Parameters

field
Type: MongoDB.Driver.FieldDefinition<TResult>
The field.
newResultSerializer
Type: MongoDB.Bson.Serialization.IBsonSerializer<TNewResult>
The new result serializer.

Type Parameters

TNewResult
The type of the result of the stage.

Return Value

Type: IAggregateFluent<TNewResult>
The fluent aggregate interface.

Implements

IAggregateFluent<TResult>.Unwind<TNewResult>(FieldDefinition<TResult>, IBsonSerializer<TNewResult>)
See Also