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})
Loading search…