FUNCTION-LIST(3valkey)
π FUNCTION-LIST(3valkey) π
okay bestie, welcome to the Valkey Command Manual entry for function-list β she's the one who spills the tea on every library you've got loaded up in your server. let's get into it π«Ά
β¨ NAME β¨
function-list β returns information about all libraries. that's it, that's the job, and she does it flawlessly π
πΈ SYNOPSIS πΈ
FUNCTION LIST [LIBRARYNAME library-name-pattern] [WITHCODE]
π¦ DESCRIPTION π¦
so basically, FUNCTION LIST returns information about the functions and the libraries. no cap.
you can drop the optional LIBRARYNAME argument to give a pattern</> for matching library names β think of it like a vibe check but for library names only. and the optional WITHCODE modifier? that one makes the server include the libraries' source implementation right there in the reply. yes bestie, the actual code. iconic.
here's the info you get back for each library 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 these fields:nameβ the name of the function.descriptionβ the function's description.flagsβ an array ofvalkey-functions-intro(7)function flags.
library_codeβ the library's source code (only when you gave theWITHCODEmodifier).
for more info please refer to valkey-functions-intro(7) Introduction to Valkey Functions. go read it, i'll wait π
π REPLY π
valkey-protocol(7) Array reply: information about functions and libraries. simple as that β¨
π COMPLEXITY π
O(N) where N is the number of functions.
so yeah, she scales with how many functions you got. the more you load, the more she's gotta walk through. math is math π§
π ACL CATEGORIES π
@scripting @slow
heads up bestie β that @slow tag is real. she's not a quick little sprint, she's a whole stroll. keep that in mind π
β 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)
the whole squad, fr fr. go say hi πΈ
and that's the whole page bestie!! π this lil masterpiece is from Valkey 9.0.0, dated 2025-10-21, and it lives in the FUNCTION-LIST(3valkey) manual. mwah π go forth and list those functions πβ¨
π¦ where this page comes from
- fedora 44: valkey-doc 9.0.3-2.fc44 Β· CC-BY-SA-4.0
- fedora 44: valkey-doc 9.0.6-1.fc44 Β· CC-BY-SA-4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms