summaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/randomkey.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/src/commands/randomkey.json')
-rw-r--r--examples/redis-unstable/src/commands/randomkey.json34
1 files changed, 0 insertions, 34 deletions
diff --git a/examples/redis-unstable/src/commands/randomkey.json b/examples/redis-unstable/src/commands/randomkey.json
deleted file mode 100644
index eeef61a..0000000
--- a/examples/redis-unstable/src/commands/randomkey.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "RANDOMKEY": {
- "summary": "Returns a random key name from the database.",
- "complexity": "O(1)",
- "group": "generic",
- "since": "1.0.0",
- "arity": 1,
- "function": "randomkeyCommand",
- "command_flags": [
- "READONLY",
- "TOUCHES_ARBITRARY_KEYS"
- ],
- "acl_categories": [
- "KEYSPACE"
- ],
- "command_tips": [
- "REQUEST_POLICY:ALL_SHARDS",
- "RESPONSE_POLICY:SPECIAL",
- "NONDETERMINISTIC_OUTPUT"
- ],
- "reply_schema": {
- "oneOf": [
- {
- "description": "when the database is empty",
- "type": "null"
- },
- {
- "description": "random key in db",
- "type": "string"
- }
- ]
- }
- }
-}