summaryrefslogtreecommitdiffstats
path: root/src/commands/cluster-countkeysinslot.json
blob: caeec51320bf07ea179ef7db690b223e2e397425 (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
{
    "COUNTKEYSINSLOT": {
        "summary": "Returns the number of keys in a hash slot.",
        "complexity": "O(1)",
        "group": "cluster",
        "since": "3.0.0",
        "arity": 3,
        "container": "CLUSTER",
        "function": "clusterCommand",
        "command_flags": [
            "STALE"
        ],
        "arguments": [
            {
                "name": "slot",
                "type": "integer"
            }
        ],
        "reply_schema": {
            "description": "The number of keys in the specified hash slot",
            "type": "integer",
            "minimum": 0
        }
    }
}