AggregateFluentBaseTResultUnwindTNewResult Method |
Appends an unwind stage to the pipeline.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.1.0
Syntax public abstract IAggregateFluent<TNewResult> Unwind<TNewResult>(
FieldDefinition<TResult> field,
IBsonSerializer<TNewResult> newResultSerializer = null
)
Public MustOverride 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.
Implements
IAggregateFluentTResultUnwindTNewResult(FieldDefinitionTResult, IBsonSerializerTNewResult)See Also