diff options
Diffstat (limited to 'examples/redis-unstable/src/commands/hexpiretime.json')
| -rw-r--r-- | examples/redis-unstable/src/commands/hexpiretime.json | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/examples/redis-unstable/src/commands/hexpiretime.json b/examples/redis-unstable/src/commands/hexpiretime.json deleted file mode 100644 index 28c1e5f..0000000 --- a/examples/redis-unstable/src/commands/hexpiretime.json +++ /dev/null | |||
| @@ -1,84 +0,0 @@ | |||
| 1 | { | ||
| 2 | "HEXPIRETIME": { | ||
| 3 | "summary": "Returns the expiration time of a hash field as a Unix timestamp, in seconds.", | ||
| 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": "hexpiretimeCommand", | ||
| 9 | "history": [], | ||
| 10 | "command_flags": [ | ||
| 11 | "READONLY", | ||
| 12 | "FAST" | ||
| 13 | ], | ||
| 14 | "acl_categories": [ | ||
| 15 | "HASH" | ||
| 16 | ], | ||
| 17 | "key_specs": [ | ||
| 18 | { | ||
| 19 | "flags": [ | ||
| 20 | "RO", | ||
| 21 | "ACCESS" | ||
| 22 | ], | ||
| 23 | "begin_search": { | ||
| 24 | "index": { | ||
| 25 | "pos": 1 | ||
| 26 | } | ||
| 27 | }, | ||
| 28 | "find_keys": { | ||
| 29 | "range": { | ||
| 30 | "lastkey": 0, | ||
| 31 | "step": 1, | ||
| 32 | "limit": 0 | ||
| 33 | } | ||
| 34 | } | ||
| 35 | } | ||
| 36 | ], | ||
| 37 | "reply_schema": { | ||
| 38 | "description": "Array of results. Returns empty array if the key does not exist.", | ||
| 39 | "type": "array", | ||
| 40 | "minItems": 0, | ||
| 41 | "maxItems": 4294967295, | ||
| 42 | "items": { | ||
| 43 | "oneOf": [ | ||
| 44 | { | ||
| 45 | "description": "The field does not exist.", | ||
| 46 | "const": -2 | ||
| 47 | }, | ||
| 48 | { | ||
| 49 | "description": "The field exists but has no associated expire.", | ||
| 50 | "const": -1 | ||
| 51 | }, | ||
| 52 | { | ||
| 53 | "description": "Expiration Unix timestamp in seconds.", | ||
| 54 | "type": "integer", | ||
| 55 | "minimum": 1 | ||
| 56 | } | ||
| 57 | ] | ||
| 58 | } | ||
| 59 | }, | ||
| 60 | "arguments": [ | ||
| 61 | { | ||
| 62 | "name": "key", | ||
| 63 | "type": "key", | ||
| 64 | "key_spec_index": 0 | ||
| 65 | }, | ||
| 66 | { | ||
| 67 | "name": "fields", | ||
| 68 | "token": "FIELDS", | ||
| 69 | "type": "block", | ||
| 70 | "arguments": [ | ||
| 71 | { | ||
| 72 | "name": "numfields", | ||
| 73 | "type": "integer" | ||
| 74 | }, | ||
| 75 | { | ||
| 76 | "name": "field", | ||
| 77 | "type": "string", | ||
| 78 | "multiple": true | ||
| 79 | } | ||
| 80 | ] | ||
| 81 | } | ||
| 82 | ] | ||
| 83 | } | ||
| 84 | } | ||
