await redis.flushdb();
Deletes all keys permanently. Use with caution!

Arguments

async
boolean
Whether to perform the operation asynchronously. Defaults to synchronous.
await redis.flushdb();