Operator Enum¶
Source definition: src/bitdrift/public/unary/workflows/v1/workflow.proto#L736-L769
| Name | Number | Description |
|---|---|---|
| EQUAL | 0 | |
| NOT_EQUAL | 1 | |
| GREATER_THAN | 2 | |
| GREATER_THAN_OR_EQUAL | 3 | |
| LESS_THAN | 4 | |
| LESS_THAN_OR_EQUAL | 5 | |
| REGEX | 6 | |
| IN | 7 | The operator expects a list of the elements on the right side. The API supports a single string as the value on the right side of the operator so we follow a convention when you can provide multiple values in a single string by separating them with a '~~' string. |
| NOT_IN | 8 | The operator expects a list of the elements on the right side. The API supports a single string as the value on the right side of the operator so we follow a convention when you can provide multiple values in a single string by separating them with a '~~' string. |
| NOT_REGEX | 9 | An inversion of a regex. |
| WILDCARD | 10 | A simplified regex syntax, where '*' is the wildcard character and '?' matches a single character and there are no other special characters. Matches are always made against the entire string. |
| NOT_WILDCARD | 11 | A negation of the WILDCARD operator. |
| SET | 12 | The operator doesn't expect any value on the right side. Matches if a value of a given field is set. |
| NOT_SET | 13 | The operator doesn't expect any value on the right side. An inversion of a "SET" operator. |