IAggregateFluentTResultSetWindowFieldsTWindowFields Method (AggregateExpressionDefinitionISetWindowFieldsPartitionTResult, TWindowFields) |
Appends a $setWindowFields to the pipeline.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax IAggregateFluent<BsonDocument> SetWindowFields<TWindowFields>(
AggregateExpressionDefinition<ISetWindowFieldsPartition<TResult>, TWindowFields> output
)
Function SetWindowFields(Of TWindowFields) (
output As AggregateExpressionDefinition(Of ISetWindowFieldsPartition(Of TResult), TWindowFields)
) As IAggregateFluent(Of BsonDocument)
abstract SetWindowFields :
output : AggregateExpressionDefinition<ISetWindowFieldsPartition<'TResult>, 'TWindowFields> -> IAggregateFluent<BsonDocument>
Parameters
- output
- Type: MongoDB.DriverAggregateExpressionDefinitionISetWindowFieldsPartitionTResult, TWindowFields
The window fields definition.
Type Parameters
- TWindowFields
- The type of the added window fields.
Return Value
Type:
IAggregateFluentBsonDocumentThe fluent aggregate interface.
See Also