FLUSHDB [ASYNC]
Delete all the keys of the currently selected DB. This command never fails.
The time-complexity for this operation is O(N), N being the number of keys in the database.
FLUSHDB ASYNC
(Redis 4.0.0 or greater)See FLUSHALL for documentation.
© 2009–2020 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/flushdb