Method Where
Where(Expression<Func<TDocument, bool>>)
Builds a query from an expression.
public IMongoQuery Where(Expression<Func<TDocument, bool>> expression)
Parameters
expression
Expression<Func<TDocument, bool>>The expression.
Returns
- IMongoQuery
An IMongoQuery.