Click or drag to resize
AggregateFluentBase<TResult>.Group<TNewResult> Method
Appends a group stage to the pipeline.

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.2.0
Syntax
public abstract 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.

Implements

IAggregateFluent<TResult>.Group<TNewResult>(ProjectionDefinition<TResult, TNewResult>)
See Also