summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/mget.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/mget.md')
-rw-r--r--iredis/data/commands/mget.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/iredis/data/commands/mget.md b/iredis/data/commands/mget.md
new file mode 100644
index 0000000..130f935
--- /dev/null
+++ b/iredis/data/commands/mget.md
@@ -0,0 +1,15 @@
+Returns the values of all specified keys. For every key that does not hold a
+string value or does not exist, the special value `nil` is returned. Because of
+this, the operation never fails.
+
+@return
+
+@array-reply: list of values at the specified keys.
+
+@examples
+
+```cli
+SET key1 "Hello"
+SET key2 "World"
+MGET key1 key2 nonexisting
+```