IAggregateFluentTResultUnwindTNewResult Method (FieldDefinitionTResult, IBsonSerializerTNewResult) |
Note: This API is now obsolete.
Appends an unwind stage to the pipeline.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.2.0
Syntax [ObsoleteAttribute("Use the Unwind overload which takes an options parameter.")]
IAggregateFluent<TNewResult> Unwind<TNewResult>(
FieldDefinition<TResult> field,
IBsonSerializer<TNewResult> newResultSerializer
)
<ObsoleteAttribute("Use the Unwind overload which takes an options parameter.")>
Function Unwind(Of TNewResult) (
field As FieldDefinition(Of TResult),
newResultSerializer As IBsonSerializer(Of TNewResult)
) As IAggregateFluent(Of TNewResult)
[<ObsoleteAttribute("Use the Unwind overload which takes an options parameter.")>]
abstract Unwind :
field : FieldDefinition<'TResult> *
newResultSerializer : IBsonSerializer<'TNewResult> -> IAggregateFluent<'TNewResult>
Parameters
- field
- Type: MongoDB.DriverFieldDefinitionTResult
The field. - newResultSerializer
- 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