TFUNCTION LIST

Syntax
TFUNCTION LIST [WITHCODE] [VERBOSE] [v] [LIBRARY <library name>] 
Available in:
Redis Stack / Triggers and functions 2.0.0
Time complexity:
O(N) where N is the number of libraries loaded into Redis

List the functions with additional information about each function.

Optional arguments

WITHCODE

Include the code in the library.

VERBOSE | v

Increase output verbosity (can be used multiple times to increase verbosity level).

LIBRARY

Specify a library name to show, can be used multiple times to show multiple libraries in a single command.

Return

TFUNCTION LIST returns information about the requested libraries.

Examples

TFUNCTION LIST vvv
1)  1) "engine"
    2) "js"
    3) "api_version"
    4) "1.0"
    5) "name"
    6) "lib"
    7) "pending_jobs"
    8) (integer) 0
    9) "user"
    10) "default"
    11) "functions"
    12) 1)  1) "name"
            2) "foo"
            3) "flags"
            4) (empty array)
    13) "keyspace_triggers"
    14) (empty array)
    15) "stream_triggers"
    16) (empty array)

See also


Rate this page