« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
Valkey · Extracted in 767 ms

Valkey Command: COMMAND LIST

Source: https://valkey.io/commands/command-list/

COMMAND LIST

Usage:
COMMAND LIST [ FILTERBY MODULE module-name | ACLCAT category | PATTERN pattern ]
Complexity:
O(N) where N is the total number of commands
Since:
7.0.0
ACL Categories:
@connection, @slow

Return an array of the server's command names.

You can use the optional FILTERBY modifier to apply one of the following filters:

  • MODULE module-name : get the commands that belong to the module specified by module-name .
  • ACLCAT category : get the commands in the ACL category specified by category .
  • PATTERN pattern : get the commands that match the given glob-like pattern .

Reply

Array of command names.

See an error? Update this Page on GitHub!