summaryrefslogtreecommitdiffstats
path: root/src/commands/unwatch.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/unwatch.json')
-rw-r--r--src/commands/unwatch.json23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/commands/unwatch.json b/src/commands/unwatch.json
new file mode 100644
index 0000000..28cc5f0
--- /dev/null
+++ b/src/commands/unwatch.json
@@ -0,0 +1,23 @@
+{
+ "UNWATCH": {
+ "summary": "Forgets about watched keys of a transaction.",
+ "complexity": "O(1)",
+ "group": "transactions",
+ "since": "2.2.0",
+ "arity": 1,
+ "function": "unwatchCommand",
+ "command_flags": [
+ "NOSCRIPT",
+ "LOADING",
+ "STALE",
+ "FAST",
+ "ALLOW_BUSY"
+ ],
+ "acl_categories": [
+ "TRANSACTION"
+ ],
+ "reply_schema": {
+ "const": "OK"
+ }
+ }
+}