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.

Return

Array reply: nested list of command details.

Examples

COMMAND INFO get set eval COMMAND INFO foo evalsha config bar

History

  • Starting with Redis version 7.0.0: Allowed to be called with no argument to get info on all commands.
Rate this page