Method AnyGt
AnyGt<TItem>(FieldDefinition<TDocument>, TItem)
Creates a greater than filter for an array field.
public FilterDefinition<TDocument> AnyGt<TItem>(FieldDefinition<TDocument> field, TItem value)
Parameters
field
FieldDefinition<TDocument>The field.
value
TItemThe value.
Returns
- FilterDefinition<TDocument>
A greater than filter.
Type Parameters
TItem
The type of the item.
AnyGt<TItem>(Expression<Func<TDocument, IEnumerable<TItem>>>, TItem)
Creates a greater than filter for an array field.
public FilterDefinition<TDocument> AnyGt<TItem>(Expression<Func<TDocument, IEnumerable<TItem>>> field, TItem value)
Parameters
field
Expression<Func<TDocument, IEnumerable<TItem>>>The field.
value
TItemThe value.
Returns
- FilterDefinition<TDocument>
A greater than filter.
Type Parameters
TItem
The type of the item.