Table of Contents

Method LTE

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

LTE(string, BsonValue)

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

public static IMongoQuery LTE(string name, BsonValue value)

Parameters

name string

The name of the element to test.

value BsonValue

The value to compare to.

Returns

IMongoQuery

An IMongoQuery.