Click or drag to resize

Query<TDocument>.LTE<TValue> Method (Expression<Func<TDocument, IEnumerable<TValue>>>, TValue)

Tests that any of the values in the named array element is less than or equal to some value (see $lte).

Namespace:  MongoDB.Driver.Builders
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public static IMongoQuery LTE<TValue>(
	Expression<Func<TDocument, IEnumerable<TValue>>> memberExpression,
	TValue value
)

Parameters

memberExpression
Type: System.Linq.Expressions.Expression<Func<TDocument, IEnumerable<TValue>>>
The member expression representing the element to test.
value
Type: TValue
The value to compare to.

Type Parameters

TValue
The type of the value.

Return Value

Type: IMongoQuery
An IMongoQuery.
See Also