FUNCTION LIST

FUNCTION LIST [LIBRARYNAME library-name-pattern] [WITHCODE]
Available since:
Redis Open Source 7.0.0
Time complexity:
O(N) where N is the number of functions
ACL categories:
@slow, @scripting,
Compatibility:
Redis Software and Redis Cloud compatibility

Return information about loaded functions and libraries.

For more information see Introduction to Redis Functions.

Optional arguments

LIBRARYNAME library-name-pattern

List only libraries whose names match the given pattern.

WITHCODE

Include the source code of each library in the reply.

Details

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 function flags.
  • library_code: the library's source code (when given the WITHCODE modifier).

Redis Software and Redis Cloud compatibility

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

Return information

Array reply: information about loaded functions and libraries.
RATE THIS PAGE
Back to top ↑