function-list.3valkey - Man Page
Returns information about all libraries.
Synopsis
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:
- library_name: the name of the library.
- engine: the engine of the library.
functions: the list of functions in the library. Each function has the following fields:
- name: the name of the function.
- description: the function’s description.
- flags: an array of valkey-functions-intro(7) function flags.
- library_code: the library’s source code (when given the
WITHCODE
modifier).
For more information please refer to valkey-functions-intro(7) Introduction to Valkey Functions.
Reply
valkey-protocol(7) Array reply: information about functions and libraries.
Complexity
O(N) where N is the number of functions
Acl Categories
@scripting @slow
History
- Available since: 7.0.0
See Also
eval(3valkey), evalsha(3valkey), evalsha_ro(3valkey), eval_ro(3valkey), fcall(3valkey), fcall_ro(3valkey), function(3valkey), function-delete(3valkey), function-dump(3valkey), function-flush(3valkey), function-help(3valkey), function-kill(3valkey), function-load(3valkey), function-restore(3valkey), function-stats(3valkey), script(3valkey), script-debug(3valkey), script-exists(3valkey), script-flush(3valkey), script-help(3valkey), script-kill(3valkey), script-load(3valkey), script-show(3valkey)