COMMAND INFO

Syntax
COMMAND INFO [command-name [command-name ...]]
Available since:
2.8.13
Time complexity:
O(N) where N is the number of commands to look up
ACL categories:
@slow, @connection,

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

COMMAND INFO get set eval COMMAND INFO foo evalsha config bar

RESP2/RESP3 Reply

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.
Rate this page