summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/randomkey.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/randomkey.md')
-rw-r--r--iredis/data/commands/randomkey.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/iredis/data/commands/randomkey.md b/iredis/data/commands/randomkey.md
new file mode 100644
index 0000000..d823322
--- /dev/null
+++ b/iredis/data/commands/randomkey.md
@@ -0,0 +1,5 @@
+Return a random key from the currently selected database.
+
+@return
+
+@bulk-string-reply: the random key, or `nil` when the database is empty.