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