diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:52:54 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:52:54 +0100 |
| commit | dcacc00e3750300617ba6e16eb346713f91a783a (patch) | |
| tree | 38e2d4fb5ed9d119711d4295c6eda4b014af73fd /examples/redis-unstable/src/commands/httl.json | |
| parent | 58dac10aeb8f5a041c46bddbeaf4c7966a99b998 (diff) | |
| download | crep-dcacc00e3750300617ba6e16eb346713f91a783a.tar.gz | |
Remove testing data
Diffstat (limited to 'examples/redis-unstable/src/commands/httl.json')
| -rw-r--r-- | examples/redis-unstable/src/commands/httl.json | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/examples/redis-unstable/src/commands/httl.json b/examples/redis-unstable/src/commands/httl.json deleted file mode 100644 index 1f5310a..0000000 --- a/examples/redis-unstable/src/commands/httl.json +++ /dev/null | |||
| @@ -1,87 +0,0 @@ | |||
| 1 | { | ||
| 2 | "HTTL": { | ||
| 3 | "summary": "Returns the TTL in seconds of a hash field.", | ||
| 4 | "complexity": "O(N) where N is the number of specified fields", | ||
| 5 | "group": "hash", | ||
| 6 | "since": "7.4.0", | ||
| 7 | "arity": -5, | ||
| 8 | "function": "httlCommand", | ||
| 9 | "history": [], | ||
| 10 | "command_flags": [ | ||
| 11 | "READONLY", | ||
| 12 | "FAST" | ||
| 13 | ], | ||
| 14 | "acl_categories": [ | ||
| 15 | "HASH" | ||
| 16 | ], | ||
| 17 | "command_tips": [ | ||
| 18 | "NONDETERMINISTIC_OUTPUT" | ||
| 19 | ], | ||
| 20 | "key_specs": [ | ||
| 21 | { | ||
| 22 | "flags": [ | ||
| 23 | "RO", | ||
| 24 | "ACCESS" | ||
| 25 | ], | ||
| 26 | "begin_search": { | ||
| 27 | "index": { | ||
| 28 | "pos": 1 | ||
| 29 | } | ||
| 30 | }, | ||
| 31 | "find_keys": { | ||
| 32 | "range": { | ||
| 33 | "lastkey": 0, | ||
| 34 | "step": 1, | ||
| 35 | "limit": 0 | ||
| 36 | } | ||
| 37 | } | ||
| 38 | } | ||
| 39 | ], | ||
| 40 | "reply_schema": { | ||
| 41 | "description": "Array of results. Returns empty array if the key does not exist.", | ||
| 42 | "type": "array", | ||
| 43 | "minItems": 0, | ||
| 44 | "maxItems": 4294967295, | ||
| 45 | "items": { | ||
| 46 | "oneOf": [ | ||
| 47 | { | ||
| 48 | "description": "The field does not exist.", | ||
| 49 | "const": -2 | ||
| 50 | }, | ||
| 51 | { | ||
| 52 | "description": "The field exists but has no associated expire.", | ||
| 53 | "const": -1 | ||
| 54 | }, | ||
| 55 | { | ||
| 56 | "description": "TTL in seconds.", | ||
| 57 | "type": "integer", | ||
| 58 | "minimum": 1 | ||
| 59 | } | ||
| 60 | ] | ||
| 61 | } | ||
| 62 | }, | ||
| 63 | "arguments": [ | ||
| 64 | { | ||
| 65 | "name": "key", | ||
| 66 | "type": "key", | ||
| 67 | "key_spec_index": 0 | ||
| 68 | }, | ||
| 69 | { | ||
| 70 | "name": "fields", | ||
| 71 | "token": "FIELDS", | ||
| 72 | "type": "block", | ||
| 73 | "arguments": [ | ||
| 74 | { | ||
| 75 | "name": "numfields", | ||
| 76 | "type": "integer" | ||
| 77 | }, | ||
| 78 | { | ||
| 79 | "name": "field", | ||
| 80 | "type": "string", | ||
| 81 | "multiple": true | ||
| 82 | } | ||
| 83 | ] | ||
| 84 | } | ||
| 85 | ] | ||
| 86 | } | ||
| 87 | } | ||
