diff options
Diffstat (limited to 'src/commands/discard.json')
-rw-r--r-- | src/commands/discard.json | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/commands/discard.json b/src/commands/discard.json new file mode 100644 index 0000000..ffd37f0 --- /dev/null +++ b/src/commands/discard.json @@ -0,0 +1,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" + } + } +} |