Server
FLUSHALL
Deletes all keys permanently. Use with caution!
Arguments
asyncbodyboolean
Whether to perform the operation asynchronously. Defaults to synchronous.
Sync
await redis.flushall();Async
await redis.flushall({async: true})Deletes all keys permanently. Use with caution!
Whether to perform the operation asynchronously. Defaults to synchronous.
await redis.flushall();await redis.flushall({async: true})