COMMAND INFO
Syntax
COMMAND INFO [command-name [command-name ...]]
- Available since:
- Redis Open Source 2.8.13
- Time complexity:
- O(N) where N is the number of commands to look up
- ACL categories:
-
@slow,@connection, - Compatibility:
- Redis Enterprise and Redis Cloud compatibility
Returns Array reply of details about multiple Redis commands.
Same result format as COMMAND except you can specify which commands
get returned.
If you request details about non-existing commands, their return position will be nil.
Examples
Redis Enterprise and Redis Cloud compatibility
| Redis Enterprise |
Redis Cloud |
Notes |
|---|---|---|
| ✅ Standard |
✅ Standard |
Return information
Array reply: a nested list of command details.
History
- Starting with Redis version 7.0.0: Allowed to be called with no argument to get info on all commands.