summaryrefslogtreecommitdiffstats
path: root/src/commands/discard.json
blob: ffd37f05e84baef1cfc58d1f6a5cfe159beae6f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
    "DISCARD": {
        "summary": "Discards a transaction.",
        "complexity": "O(N), when N is the number of queued commands",
        "group": "transactions",
        "since": "2.0.0",
        "arity": 1,
        "function": "discardCommand",
        "command_flags": [
            "NOSCRIPT",
            "LOADING",
            "STALE",
            "FAST",
            "ALLOW_BUSY"
        ],
        "acl_categories": [
            "TRANSACTION"
        ],
        "reply_schema": {
            "const": "OK"
        }
    }
}