COMMAND INFO

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 Software and Redis Cloud compatibility

Returns details about multiple Redis commands using the same format as COMMAND, except you can specify which commands are inspected.

If you request details about non-existing commands, nil is returned.

Optional arguments

command-name [command-name ...]

One or more command names to return details for. If omitted, details for all commands are returned.

Examples

COMMAND INFO get set eval COMMAND INFO foo evalsha config bar

Redis Software and Redis Cloud compatibility

Redis
Software
Redis
Cloud
Notes
✅ Standard
✅ Active-Active
✅ Standard
✅ Active-Active

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.
RATE THIS PAGE
Back to top ↑