QueryTDocumentWhere Method |
Builds a query from an expression.
Namespace:
MongoDB.Driver.Builders
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
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