Click or drag to resize

IAggregateFluent<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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax
IAggregateFluent<TNewResult> Unwind<TNewResult>(
	FieldDefinition<TResult> field,
	AggregateUnwindOptions<TNewResult> options = null
)

Parameters

field
Type: MongoDB.Driver.FieldDefinition<TResult>
The field.
options (Optional)
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.
See Also