Method Group
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Group(ProjectionDefinition<TResult, TNewResult>)
Appends a group stage to the pipeline.
IAggregateFluent<TNewResult> Group<TNewResult>(ProjectionDefinition<TResult, TNewResult> group)
Parameters
group
ProjectionDefinition<TResult, TNewResult>
The group projection.
Returns
The fluent aggregate interface.
Type Parameters
TNewResult
The type of the result of the stage.