summaryrefslogtreecommitdiffstats
path: root/src/commands/discard.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/discard.json')
-rw-r--r--src/commands/discard.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/commands/discard.json b/src/commands/discard.json
new file mode 100644
index 0000000..56589a8
--- /dev/null
+++ b/src/commands/discard.json
@@ -0,0 +1,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"
+ ]
+ }
+}