Table of Contents

Method AnyGte

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

AnyGte<TItem>(FieldDefinition<TDocument>, TItem)

Creates a greater than or equal filter for an array field.

public FilterDefinition<TDocument> AnyGte<TItem>(FieldDefinition<TDocument> field, TItem value)

Parameters

field FieldDefinition<TDocument>

The field.

value TItem

The value.

Returns

FilterDefinition<TDocument>

A greater than or equal filter.

Type Parameters

TItem

The type of the item.

AnyGte<TItem>(Expression<Func<TDocument, IEnumerable<TItem>>>, TItem)

Creates a greater than or equal filter for an array field.

public FilterDefinition<TDocument> AnyGte<TItem>(Expression<Func<TDocument, IEnumerable<TItem>>> field, TItem value)

Parameters

field Expression<Func<TDocument, IEnumerable<TItem>>>

The field.

value TItem

The value.

Returns

FilterDefinition<TDocument>

A greater than or equal filter.

Type Parameters

TItem

The type of the item.