Method Where
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Where(Expression<Func<TDocument, bool>>)
Creates a filter based on the expression.
public FilterDefinition<TDocument> Where(Expression<Func<TDocument, bool>> expression)
Parameters
expression
Expression<Func<TDocument, bool>>
The expression.
Returns
An expression filter.