Click or drag to resize

FilterDefinitionBuilderTDocumentGtTField Method (ExpressionFuncTDocument, TField, TField)

Creates a greater than filter.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax
public FilterDefinition<TDocument> Gt<TField>(
	Expression<Func<TDocument, TField>> field,
	TField value
)

Parameters

field
Type: System.Linq.ExpressionsExpressionFuncTDocument, TField
The field.
value
Type: TField
The value.

Type Parameters

TField
The type of the field.

Return Value

Type: FilterDefinitionTDocument
A greater than filter.
See Also