Table of Contents

Method Gte

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Gte(FieldDefinition<TDocument, uint>, uint)

Creates a greater than or equal filter for a UInt32 field.

[CLSCompliant(false)]
public FilterDefinition<TDocument> Gte(FieldDefinition<TDocument, uint> field, uint value)

Parameters

field FieldDefinition<TDocument, uint>

The field.

value uint

The value.

Returns

FilterDefinition<TDocument>

A greater than or equal filter.

Gte(FieldDefinition<TDocument, ulong>, ulong)

Creates a greater than or equal filter for a UInt64 field.

[CLSCompliant(false)]
public FilterDefinition<TDocument> Gte(FieldDefinition<TDocument, ulong> field, ulong value)

Parameters

field FieldDefinition<TDocument, ulong>

The field.

value ulong

The value.

Returns

FilterDefinition<TDocument>

A greater than or equal filter.

Gte<TField>(FieldDefinition<TDocument, TField>, TField)

Creates a greater than or equal filter.

public FilterDefinition<TDocument> Gte<TField>(FieldDefinition<TDocument, TField> field, TField value)

Parameters

field FieldDefinition<TDocument, TField>

The field.

value TField

The value.

Returns

FilterDefinition<TDocument>

A greater than or equal filter.

Type Parameters

TField

The type of the field.

Gte(Expression<Func<TDocument, uint>>, uint)

Creates a greater than or equal filter for a UInt32 field.

[CLSCompliant(false)]
public FilterDefinition<TDocument> Gte(Expression<Func<TDocument, uint>> field, uint value)

Parameters

field Expression<Func<TDocument, uint>>

The field.

value uint

The value.

Returns

FilterDefinition<TDocument>

A greater than or equal filter.

Gte(Expression<Func<TDocument, ulong>>, ulong)

Creates a greater than or equal filter for a UInt64 field.

[CLSCompliant(false)]
public FilterDefinition<TDocument> Gte(Expression<Func<TDocument, ulong>> field, ulong value)

Parameters

field Expression<Func<TDocument, ulong>>

The field.

value ulong

The value.

Returns

FilterDefinition<TDocument>

A greater than or equal filter.

Gte<TField>(Expression<Func<TDocument, TField>>, TField)

Creates a greater than or equal filter.

public FilterDefinition<TDocument> Gte<TField>(Expression<Func<TDocument, TField>> field, TField value)

Parameters

field Expression<Func<TDocument, TField>>

The field.

value TField

The value.

Returns

FilterDefinition<TDocument>

A greater than or equal filter.

Type Parameters

TField

The type of the field.