summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/touch.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/touch.md')
-rw-r--r--iredis/data/commands/touch.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/iredis/data/commands/touch.md b/iredis/data/commands/touch.md
new file mode 100644
index 0000000..eee3365
--- /dev/null
+++ b/iredis/data/commands/touch.md
@@ -0,0 +1,13 @@
+Alters the last access time of a key(s). A key is ignored if it does not exist.
+
+@return
+
+@integer-reply: The number of keys that were touched.
+
+@examples
+
+```cli
+SET key1 "Hello"
+SET key2 "World"
+TOUCH key1 key2
+```