QueryTDocumentWhere Method |
Builds a query from an expression.
Namespace:
MongoDB.Driver.Builders
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
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