Skip to main content

FieldFilterOperator

Namespace: Meshmakers.Octo.Runtime.Contracts.Repositories.Query

Represents the operator to use for a field filter

public enum FieldFilterOperator

Inheritance ObjectValueTypeEnumFieldFilterOperator
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Fields

NameValueDescription
Equals0Equals for scalar values
NotEquals1Not equals for scalar values
LessThan2Less than for scalar values
LessEqualThan3Less or equal than for scalar values
GreaterThan4Greater than for scalar values
GreaterEqualThan5Greater or equal than for scalar values
In6Checks if the value is in a list of values
NotIn7Checks if the value is not in a list of values
Like8Like (string comparison)
MatchRegEx9Regular expression match (string comparison)
AnyEq10Scalar arrays: Check equality of any element to the comparison value
AnyLike11Scalar strings: Check equality of any element to a string comparison value, e.g. value
Match12Matches documents that contain an array field with at least one element that matches all the specified query criteria.