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.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntaxpublic IMongoQuery BuildMongoQuery<T>(
	MongoQueryable<T> query
)
Public Function BuildMongoQuery(Of T) ( 
	query As MongoQueryable(Of T)
) As IMongoQuery
member BuildMongoQuery : 
        query : MongoQueryable<'T> -> IMongoQuery 
Parameters
- query
 - Type: MongoDB.Driver.LinqMongoQueryableT
The LINQ query. 
Type Parameters
- T
 - The type of the documents being queried.
 
Return Value
Type: 
IMongoQueryThe MongoDB query.
See Also