Click or drag to resize

AggregateFluentBaseTResultSetWindowFieldsTWindowFields Method (AggregateExpressionDefinitionISetWindowFieldsPartitionTResult, TWindowFields)

Appends a $setWindowFields to the pipeline.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
Syntax
public virtual 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.

Implements

IAggregateFluentTResultSetWindowFieldsTWindowFields(AggregateExpressionDefinitionISetWindowFieldsPartitionTResult, TWindowFields)
See Also