Click or drag to resize

FindFluentBaseTDocument, TProjectionProjectTNewProjection Method

Projects the the result.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax
public abstract IFindFluent<TDocument, TNewProjection> Project<TNewProjection>(
	ProjectionDefinition<TDocument, TNewProjection> projection
)

Parameters

projection
Type: MongoDB.DriverProjectionDefinitionTDocument, TNewProjection
The projection.

Type Parameters

TNewProjection
The type of the projection.

Return Value

Type: IFindFluentTDocument, TNewProjection
The fluent find interface.

Implements

IFindFluentTDocument, TProjectionProjectTNewProjection(ProjectionDefinitionTDocument, TNewProjection)
See Also