IAggregateFluentTResultUnwindTNewResult Method (FieldDefinitionTResult, AggregateUnwindOptionsTNewResult) |
Appends an unwind stage to the pipeline.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.2.0
Syntax IAggregateFluent<TNewResult> Unwind<TNewResult>(
FieldDefinition<TResult> field,
AggregateUnwindOptions<TNewResult> options = null
)
Function Unwind(Of TNewResult) (
field As FieldDefinition(Of TResult),
Optional options As AggregateUnwindOptions(Of TNewResult) = Nothing
) As IAggregateFluent(Of TNewResult)
abstract Unwind :
field : FieldDefinition<'TResult> *
?options : AggregateUnwindOptions<'TNewResult>
(* Defaults:
let _options = defaultArg options null
*)
-> IAggregateFluent<'TNewResult>
Parameters
- field
- Type: MongoDB.DriverFieldDefinitionTResult
The field. - options (Optional)
- Type: MongoDB.DriverAggregateUnwindOptionsTNewResult
The options.
Type Parameters
- TNewResult
- The type of the new result.
Return Value
Type:
IAggregateFluentTNewResultThe fluent aggregate interface.
See Also