summaryrefslogtreecommitdiff
path: root/src/commands/readonly.json
blob: 4dcd50af8b34ef9a1e391066a0ffc9b4da7d8e51 (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 queries for a connection to a 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"
        }
    }
}