Method AnyLt
AnyLt<TItem>(FieldDefinition<TDocument>, TItem)
Creates a less than filter for an array field.
public FilterDefinition<TDocument> AnyLt<TItem>(FieldDefinition<TDocument> field, TItem value)
Parameters
field
FieldDefinition<TDocument>The field.
value
TItemThe value.
Returns
- FilterDefinition<TDocument>
A less than filter.
Type Parameters
TItem
The type of the item.
AnyLt<TItem>(Expression<Func<TDocument, IEnumerable<TItem>>>, TItem)
Creates a less than filter for an array field.
public FilterDefinition<TDocument> AnyLt<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 less than filter.
Type Parameters
TItem
The type of the item.