summaryrefslogtreecommitdiffstats
path: root/src/commands/exec.json
blob: 5f03d76e083a30f712f83082985f6c1f4eafd9d1 (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
{
    "EXEC": {
        "summary": "Executes all commands in a transaction.",
        "complexity": "Depends on commands in the transaction",
        "group": "transactions",
        "since": "1.2.0",
        "arity": 1,
        "function": "execCommand",
        "command_flags": [
            "NOSCRIPT",
            "LOADING",
            "STALE",
            "SKIP_SLOWLOG"
        ],
        "acl_categories": [
            "TRANSACTION"
        ],
        "reply_schema": {
            "oneOf": [
                {
                    "description": "Each element being the reply to each of the commands in the atomic transaction.",
                    "type": "array"
                },
                {
                    "description": "The transaction was aborted because a `WATCH`ed key was touched",
                    "type": "null"
                }
            ]
        }
    }
}