summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/flushdb.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/flushdb.md')
-rw-r--r--iredis/data/commands/flushdb.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/iredis/data/commands/flushdb.md b/iredis/data/commands/flushdb.md
new file mode 100644
index 0000000..8c76001
--- /dev/null
+++ b/iredis/data/commands/flushdb.md
@@ -0,0 +1,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