Click or drag to resize

IAggregateFluentTResultSetWindowFieldsTWindowFields Method (AggregateExpressionDefinitionISetWindowFieldsPartitionTResult, TWindowFields)

Appends a $setWindowFields to the pipeline.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax
IAggregateFluent<BsonDocument> SetWindowFields<TWindowFields>(
	AggregateExpressionDefinition<ISetWindowFieldsPartition<TResult>, TWindowFields> output
)

Parameters

output
Type: MongoDB.DriverAggregateExpressionDefinitionISetWindowFieldsPartitionTResult, TWindowFields
The window fields definition.

Type Parameters

TWindowFields
The type of the added window fields.

Return Value

Type: IAggregateFluentBsonDocument
The fluent aggregate interface.
See Also