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

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.3.0
Syntax
public virtual IAggregateFluent<TNewResult> Unwind<TNewResult>(
	FieldDefinition<TResult> field,
	AggregateUnwindOptions<TNewResult> options
)

Parameters

field
Type: MongoDB.Driver.FieldDefinition<TResult>
The field.
options
Type: MongoDB.Driver.AggregateUnwindOptions<TNewResult>
The options.

Type Parameters

TNewResult
The type of the new result.

Return Value

Type: IAggregateFluent<TNewResult>
The fluent aggregate interface.

Implements

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