Click or drag to resize

MongoQueryProviderBuildMongoQueryT Method

Builds the MongoDB query that will be sent to the server when the LINQ query is executed.

Namespace:  MongoDB.Driver.Linq
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax
public IMongoQuery BuildMongoQuery<T>(
	MongoQueryable<T> query
)

Parameters

query
Type: MongoDB.Driver.LinqMongoQueryableT
The LINQ query.

Type Parameters

T
The type of the documents being queried.

Return Value

Type: IMongoQuery
The MongoDB query.
See Also