diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-04 07:19:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-04 07:19:32 +0000 |
commit | 7480e618ec785ba8a1c74c8a150cffe5880fb3bb (patch) | |
tree | 87422376dd9a7eee55850f0fce9a8bb4c13e44a2 /iredis/data/commands/command-getkeys.md | |
parent | Adding upstream version 1.12.1. (diff) | |
download | iredis-7480e618ec785ba8a1c74c8a150cffe5880fb3bb.tar.xz iredis-7480e618ec785ba8a1c74c8a150cffe5880fb3bb.zip |
Adding upstream version 1.13.0.upstream/1.13.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'iredis/data/commands/command-getkeys.md')
-rw-r--r-- | iredis/data/commands/command-getkeys.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/iredis/data/commands/command-getkeys.md b/iredis/data/commands/command-getkeys.md index 1c591f1..6b8f300 100644 --- a/iredis/data/commands/command-getkeys.md +++ b/iredis/data/commands/command-getkeys.md @@ -1,12 +1,12 @@ Returns @array-reply of keys from a full Redis command. -`COMMAND GETKEYS` is a helper command to let you find the keys from a full Redis -command. +`COMMAND GETKEYS` is a helper command to let you find the keys +from a full Redis command. + +`COMMAND` provides information on how to find the key names of each command (see `firstkey`, [key specifications](/topics/key-specs#logical-operation-flags), and `movablekeys`), +but in some cases it's not possible to find keys of certain commands and then the entire command must be parsed to discover some / all key names. +You can use `COMMAND GETKEYS` or `COMMAND GETKEYSANDFLAGS` to discover key names directly from how Redis parses the commands. -`COMMAND` shows some commands as having movablekeys meaning the entire command -must be parsed to discover storage or retrieval keys. You can use -`COMMAND GETKEYS` to discover key positions directly from how Redis parses the -commands. @return |