Server
FLUSHDB
Deletes all keys permanently. Use with caution!
Arguments
flush_typebody"ASYNC" | "SYNC"
Whether to perform the operation asynchronously. Defaults to synchronous.
Sync
redis.flushall()Async
redis.flushall(flush_type="ASYNC")Deletes all keys permanently. Use with caution!
Whether to perform the operation asynchronously. Defaults to synchronous.
redis.flushall()redis.flushall(flush_type="ASYNC")