Click or drag to resize

FilterDefinitionBuilderTDocumentLteTField Method (ExpressionFuncTDocument, TField, TField)

Creates a less than or equal filter.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
Syntax
public FilterDefinition<TDocument> Lte<TField>(
	Expression<Func<TDocument, TField>> field,
	TField value
)

Parameters

field
Type: System.Linq.ExpressionsExpressionFuncTDocument, TField
The field.
value
Type: TField
The value.

Type Parameters

TField
The type of the field.

Return Value

Type: FilterDefinitionTDocument
A less than or equal filter.
See Also