summaryrefslogtreecommitdiffstats
path: root/src/commands/readonly.json
blob: 253573c97cabfc6ca3cbe27a76554d5c69cd6d08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
    "READONLY": {
        "summary": "Enables read-only queries for a connection to a Redis Cluster replica node.",
        "complexity": "O(1)",
        "group": "cluster",
        "since": "3.0.0",
        "arity": 1,
        "function": "readonlyCommand",
        "command_flags": [
            "FAST",
            "LOADING",
            "STALE"
        ],
        "acl_categories": [
            "CONNECTION"
        ],
        "reply_schema": {
            "const": "OK"
        }
    }
}