QueryTDocumentWhere Method |
Builds a query from an expression.
Namespace:
MongoDB.Driver.Builders
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax public static IMongoQuery Where(
Expression<Func<TDocument, bool>> expression
)
Public Shared Function Where (
expression As Expression(Of Func(Of TDocument, Boolean))
) As IMongoQuery
static member Where :
expression : Expression<Func<'TDocument, bool>> -> IMongoQuery
Parameters
- expression
- Type: System.Linq.ExpressionsExpressionFuncTDocument, Boolean
The expression.
Return Value
Type:
IMongoQueryAn IMongoQuery.
See Also