summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/unwatch.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/unwatch.md')
-rw-r--r--iredis/data/commands/unwatch.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/iredis/data/commands/unwatch.md b/iredis/data/commands/unwatch.md
new file mode 100644
index 0000000..b60bcb8
--- /dev/null
+++ b/iredis/data/commands/unwatch.md
@@ -0,0 +1,9 @@
+Flushes all the previously watched keys for a [transaction][tt].
+
+[tt]: /topics/transactions
+
+If you call `EXEC` or `DISCARD`, there's no need to manually call `UNWATCH`.
+
+@return
+
+@simple-string-reply: always `OK`.