summaryrefslogtreecommitdiff
path: root/src/commands/randomkey.json
blob: 93473968c4140803cdbba79053b21ddf827a31fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
    "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"
        ],
        "acl_categories": [
            "KEYSPACE"
        ],
        "command_tips": [
            "REQUEST_POLICY:ALL_SHARDS",
            "NONDETERMINISTIC_OUTPUT"
        ]
    }
}