Deletes all libraries and functions.
FUNCTION
FLUSH [ASYNC
| SYNC]
Deletes all the libraries.
Unless called with the optional mode argument, the
lazyfree-lazy-user-flush configuration directive sets the
effective behavior. Valid modes are:
ASYNC: Asynchronously flush the libraries.SYNC: Synchronously flush the libraries.For more information please refer to Introduction to Valkey Functions.
Simple string
reply: OK.
O(N) where N is the number of functions deleted
@scripting
EVAL, EVALSHA, EVALSHA_RO, EVAL_RO, FCALL, FCALL_RO, FUNCTION, FUNCTION DELETE, FUNCTION DUMP, FUNCTION HELP, FUNCTION KILL, FUNCTION LIST, FUNCTION LOAD, FUNCTION RESTORE, FUNCTION STATS, SCRIPT, SCRIPT DEBUG, SCRIPT EXISTS, SCRIPT FLUSH, SCRIPT HELP, SCRIPT KILL, SCRIPT LOAD.