Table of Contents

Method Gte

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

Gte<TValue>(TValue)

Creates a greater or equal than search range.

public static SearchRange<TValue> Gte<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.

Gte<TValue>(SearchRange<TValue>, TValue)

Adds a greater or equal than value to a search range.

public static SearchRange<TValue> Gte<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.