FUNCTION LIST · Valkey

FUNCTION LIST

Returns information about all libraries.

Usage

FUNCTION LIST [LIBRARYNAME library-name-pattern] [WITHCODE]

Description

Return information about the functions and libraries.

You can use the optional LIBRARYNAME argument to specify a pattern for matching library names. The optional WITHCODE modifier will cause the server to include the libraries source implementation in the reply.

The following information is provided for each of the libraries in the response:

For more information please refer to Introduction to Valkey Functions.

Reply

Array reply: information about functions and libraries.

Complexity

O(N) where N is the number of functions

ACL Categories

@scripting @slow

History

See also

EVAL, EVALSHA, EVALSHA_RO, EVAL_RO, FCALL, FCALL_RO, FUNCTION, FUNCTION DELETE, FUNCTION DUMP, FUNCTION FLUSH, FUNCTION HELP, FUNCTION KILL, FUNCTION LOAD, FUNCTION RESTORE, FUNCTION STATS, SCRIPT, SCRIPT DEBUG, SCRIPT EXISTS, SCRIPT FLUSH, SCRIPT HELP, SCRIPT KILL, SCRIPT LOAD, SCRIPT SHOW.