Table of Contents

Method GT

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

GT(string, BsonValue)

Tests that the value of the named element is greater than some value (see $gt).

public static IMongoQuery GT(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.