QueryBuilderTDocumentWhere Method |
Builds a query from an expression.
Namespace: MongoDB.Driver.BuildersAssembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.1.0
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