Table of Contents

Method Gt

Namespace
MongoDB.Driver.Search
Assembly
MongoDB.Driver.dll

Gt<TValue>(TValue)

Creates a greater than search range.

public static SearchRange<TValue> Gt<TValue>(TValue value) where TValue : struct, IComparable<TValue>

Parameters

value TValue

The value.

Returns

SearchRange<TValue>

Search range.

Type Parameters

TValue

The type of the value.

Gt<TValue>(SearchRange<TValue>, TValue)

Adds a greater than value to a search range.

public static SearchRange<TValue> Gt<TValue>(this SearchRange<TValue> searchRange, TValue value) where TValue : struct, IComparable<TValue>

Parameters

searchRange SearchRange<TValue>

Search range.

value TValue

The value.

Returns

SearchRange<TValue>

Search range.

Type Parameters

TValue

The type of the value.