diff options
Diffstat (limited to 'examples/redis-unstable/src/commands/delex.json')
| -rw-r--r-- | examples/redis-unstable/src/commands/delex.json | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/examples/redis-unstable/src/commands/delex.json b/examples/redis-unstable/src/commands/delex.json deleted file mode 100644 index c41d1c4..0000000 --- a/examples/redis-unstable/src/commands/delex.json +++ /dev/null | |||
| @@ -1,89 +0,0 @@ | |||
| 1 | { | ||
| 2 | "DELEX": { | ||
| 3 | "summary": "Conditionally removes the specified key based on value or digest comparison.", | ||
| 4 | "complexity": "O(1) for IFEQ/IFNE, O(N) for IFDEQ/IFDNE where N is the length of the string value.", | ||
| 5 | "group": "string", | ||
| 6 | "since": "8.4.0", | ||
| 7 | "arity": -2, | ||
| 8 | "function": "delexCommand", | ||
| 9 | "get_keys_function": "delexGetKeys", | ||
| 10 | "command_flags": [ | ||
| 11 | "WRITE", | ||
| 12 | "FAST" | ||
| 13 | ], | ||
| 14 | "acl_categories": [ | ||
| 15 | "STRING" | ||
| 16 | ], | ||
| 17 | "key_specs": [ | ||
| 18 | { | ||
| 19 | "flags": [ | ||
| 20 | "RW", | ||
| 21 | "DELETE", | ||
| 22 | "VARIABLE_FLAGS" | ||
| 23 | ], | ||
| 24 | "begin_search": { | ||
| 25 | "index": { | ||
| 26 | "pos": 1 | ||
| 27 | } | ||
| 28 | }, | ||
| 29 | "find_keys": { | ||
| 30 | "range": { | ||
| 31 | "lastkey": 0, | ||
| 32 | "step": 1, | ||
| 33 | "limit": 0 | ||
| 34 | } | ||
| 35 | } | ||
| 36 | } | ||
| 37 | ], | ||
| 38 | "reply_schema": { | ||
| 39 | "oneOf": [ | ||
| 40 | { | ||
| 41 | "description": "The key exists but holds a non-string value", | ||
| 42 | "const": "WRONGTYPE" | ||
| 43 | }, | ||
| 44 | { | ||
| 45 | "description": "The key does not exist or the specified condition was not met.", | ||
| 46 | "const": 0 | ||
| 47 | }, | ||
| 48 | { | ||
| 49 | "description": "The key was deleted.", | ||
| 50 | "const": 1 | ||
| 51 | } | ||
| 52 | ] | ||
| 53 | }, | ||
| 54 | "arguments": [ | ||
| 55 | { | ||
| 56 | "name": "key", | ||
| 57 | "type": "key", | ||
| 58 | "key_spec_index": 0 | ||
| 59 | }, | ||
| 60 | { | ||
| 61 | "name": "condition", | ||
| 62 | "type": "oneof", | ||
| 63 | "optional": true, | ||
| 64 | "arguments": [ | ||
| 65 | { | ||
| 66 | "name": "ifeq-value", | ||
| 67 | "type": "string", | ||
| 68 | "token": "IFEQ" | ||
| 69 | }, | ||
| 70 | { | ||
| 71 | "name": "ifne-value", | ||
| 72 | "type": "string", | ||
| 73 | "token": "IFNE" | ||
| 74 | }, | ||
| 75 | { | ||
| 76 | "name": "ifdeq-digest", | ||
| 77 | "type": "integer", | ||
| 78 | "token": "IFDEQ" | ||
| 79 | }, | ||
| 80 | { | ||
| 81 | "name": "ifdne-digest", | ||
| 82 | "type": "integer", | ||
| 83 | "token": "IFDNE" | ||
| 84 | } | ||
| 85 | ] | ||
| 86 | } | ||
| 87 | ] | ||
| 88 | } | ||
| 89 | } | ||
