summaryrefslogtreecommitdiff
path: root/src/commands/cluster-keyslot.json
blob: ff5b3cfdd97945dd370b82b3200cda1912d4b501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
    "KEYSLOT": {
        "summary": "Returns the hash slot of the specified key",
        "complexity": "O(N) where N is the number of bytes in the key",
        "group": "cluster",
        "since": "3.0.0",
        "arity": 3,
        "container": "CLUSTER",
        "function": "clusterCommand",
        "command_flags": [
            "RANDOM",
            "STALE"
        ],
        "arguments": [
            {
                "name": "key",
                "type": "string"
            }
        ]
    }
}