| 17 | |
| 18 | |
| 19 | class Oper(Enum): |
| 20 | EQ = "eq" |
| 21 | NE = "ne" |
| 22 | GT = "gt" |
| 23 | LT = "lt" |
| 24 | GTE = "gte" |
| 25 | LTE = "lte" |
| 26 | LIKE = "like" |
| 27 | ILIKE = "ilike" |
| 28 | IN = "in" |
| 29 | NOT_IN = "not_in" |
| 30 | BETWEEN = "between" |
| 31 | IS_NULL = "is_null" |
| 32 | IS_NOT_NULL = "is_not_null" |
| 33 | CONTAINS = "contains" |
| 34 | STARTSWITH = "startswith" |
| 35 | ENDSWITH = "endswith" |
| 36 | # JSON operators |
| 37 | JSON_EXTRACT = "json_extract" # Extract value by path: field->'$.path' |
| 38 | JSON_EXTRACT_TEXT = "json_extract_text" # Extract text value: field->>'$.path' |
| 39 | JSON_CONTAINS = "json_contains" # Check if JSON contains value |
| 40 | JSON_CONTAINS_PATH = "json_contains_path" # Check if path exists |
| 41 | JSON_ARRAY_CONTAINS = "json_array_contains" # Check if array contains value |
| 42 | JSON_LENGTH = "json_length" # Get length of JSON array/object |
| 43 | |
| 44 | |
| 45 | @dataclass |
nothing calls this directly
no outgoing calls
no test coverage detected