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