summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/hkeys.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/hkeys.md')
-rw-r--r--iredis/data/commands/hkeys.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/iredis/data/commands/hkeys.md b/iredis/data/commands/hkeys.md
new file mode 100644
index 0000000..42fd82c
--- /dev/null
+++ b/iredis/data/commands/hkeys.md
@@ -0,0 +1,14 @@
+Returns all field names in the hash stored at `key`.
+
+@return
+
+@array-reply: list of fields in the hash, or an empty list when `key` does not
+exist.
+
+@examples
+
+```cli
+HSET myhash field1 "Hello"
+HSET myhash field2 "World"
+HKEYS myhash
+```