summaryrefslogtreecommitdiffstats
path: root/src/commands/randomkey.json
blob: ceaa3c88689dc7c642a8e4266821e1f77c88df9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
    "RANDOMKEY": {
        "summary": "Return a random key from the keyspace",
        "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",
            "NONDETERMINISTIC_OUTPUT"
        ]
    }
}