FUNCTION FLUSH
Syntax
FUNCTION FLUSH [ASYNC | SYNC]
- Available since:
- Redis Open Source 7.0.0
- Time complexity:
- O(N) where N is the number of functions deleted
- ACL categories:
@write
,@slow
,@scripting
,
Deletes all the libraries.
Unless called with the optional mode argument, thelazyfree-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 toIntroduction to Redis Functions.
Return information
- See also
- EVAL
- EVAL_RO
- EVALSHA
- EVALSHA_RO
- FCALL
- FCALL_RO
- FUNCTION DELETE
- FUNCTION DUMP
- FUNCTION FLUSH
- FUNCTION KILL
- FUNCTION LIST
- FUNCTION LOAD
- FUNCTION RESTORE
- FUNCTION STATS
- SCRIPT DEBUG
- SCRIPT EXISTS
- SCRIPT FLUSH
- SCRIPT KILL
- SCRIPT LOAD