ComparisonFilter
A filter used to compare a specified attribute key to a given value using a defined comparison operation.
A filter used to compare a specified attribute key to a given value using a defined comparison operation.
| Property | Type | Required | Description |
|---|---|---|---|
key | string | Yes | The key to compare against the value |
type | enum | Yes | Specifies the comparison operator: eq (equals), ne (not equal), gt (greater than), gte (greater than or equal), lt (less than), lte (less than or equal), in (in), nin (not in) One of: eq, ne, gt, gte, lt, lte, in, nin. |
value | string | integer | number | boolean | string | integer | number[] | Yes | The value to compare against the attribute key; supports string, number, boolean or list[str or number] types |
We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.