summaryrefslogtreecommitdiff
path: root/src/commands/cluster-getkeysinslot.json
blob: 039dfeabf6b5c96555cb46494b6672921cc2162c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
    "GETKEYSINSLOT": {
        "summary": "Returns the key names in a hash slot.",
        "complexity": "O(N) where N is the number of requested keys",
        "group": "cluster",
        "since": "3.0.0",
        "arity": 4,
        "container": "CLUSTER",
        "function": "clusterCommand",
        "command_flags": [
            "STALE"
        ],
        "command_tips": [
            "NONDETERMINISTIC_OUTPUT"
        ],
        "arguments": [
            {
                "name": "slot",
                "type": "integer"
            },
            {
                "name": "count",
                "type": "integer"
            }
        ],
        "reply_schema": {
            "description": "an array with up to count elements",
            "type": "array",
            "items": {
                "description": "key name",
                "type": "string"
            }
        }
    }
}