summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/flushdb.md
blob: 8c7600123414bdf0a3ff72de28a5fc0a18f8e323 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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.

@return

@simple-string-reply