Click or drag to resize

IAggregateFluent<TResult>.Group<TNewResult> Method

Appends a group stage to the pipeline.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax
IAggregateFluent<TNewResult> Group<TNewResult>(
	ProjectionDefinition<TResult, TNewResult> group
)

Parameters

group
Type: MongoDB.Driver.ProjectionDefinition<TResult, TNewResult>
The group projection.

Type Parameters

TNewResult
The type of the result of the stage.

Return Value

Type: IAggregateFluent<TNewResult>
The fluent aggregate interface.
See Also