IAggregateFluentTResultUnwindTNewResult Method |
Appends an unwind stage to the pipeline.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.0.1
Syntax IAggregateFluent<TNewResult> Unwind<TNewResult>(
FieldDefinition<TResult> field,
IBsonSerializer<TNewResult> newResultSerializer = null
)
Function Unwind(Of TNewResult) (
field As FieldDefinition(Of TResult),
Optional newResultSerializer As IBsonSerializer(Of TNewResult) = Nothing
) As IAggregateFluent(Of TNewResult)
abstract Unwind :
field : FieldDefinition<'TResult> *
?newResultSerializer : IBsonSerializer<'TNewResult>
(* Defaults:
let _newResultSerializer = defaultArg newResultSerializer null
*)
-> IAggregateFluent<'TNewResult>
Parameters
- field
- Type: MongoDB.DriverFieldDefinitionTResult
The field. - newResultSerializer (Optional)
- Type: MongoDB.Bson.SerializationIBsonSerializerTNewResult
The new result serializer.
Type Parameters
- TNewResult
- The type of the result of the stage.
Return Value
Type:
IAggregateFluentTNewResult
The fluent aggregate interface.
See Also