FUNCTION FLUSH

FUNCTION FLUSH [ASYNC | SYNC]
Railroad diagram for FUNCTION FLUSH
function_flush(
    mode: str  // Flush mode (SYNC or ASYNC)
) → Union[Awaitable[str], str]  // Status response
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,
Compatibility:
Redis Software and Redis Cloud compatibility

Deletes all the libraries.

Unless called with the optional mode argument, the lazyfree-lazy-user-flush configuration directive sets the effective behavior.

For more information please refer to Introduction to Redis Functions.

Optional arguments

ASYNC | SYNC

Flush the function libraries asynchronously (ASYNC) or synchronously (SYNC). The default is set by the lazyfree-lazy-user-flush configuration directive.

Redis Software and Redis Cloud compatibility

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

Return information

RATE THIS PAGE
Back to top ↑
Morty Proxy This is a proxified and sanitized view of the page, visit original site.