summaryrefslogtreecommitdiff
path: root/src/commands/discard.json
blob: 56589a84f33521262e15621b9aee3d4fd850506d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
    "DISCARD": {
        "summary": "Discard all commands issued after MULTI",
        "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"
        ]
    }
}