summaryrefslogtreecommitdiffstats
path: root/src/commands/flushall.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/commands/flushall.json52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/commands/flushall.json b/src/commands/flushall.json
new file mode 100644
index 0000000..ef6a1f8
--- /dev/null
+++ b/src/commands/flushall.json
@@ -0,0 +1,52 @@
+{
+ "FLUSHALL": {
+ "summary": "Remove all keys from all databases",
+ "complexity": "O(N) where N is the total number of keys in all databases",
+ "group": "server",
+ "since": "1.0.0",
+ "arity": -1,
+ "function": "flushallCommand",
+ "history": [
+ [
+ "4.0.0",
+ "Added the `ASYNC` flushing mode modifier."
+ ],
+ [
+ "6.2.0",
+ "Added the `SYNC` flushing mode modifier."
+ ]
+ ],
+ "command_flags": [
+ "WRITE"
+ ],
+ "acl_categories": [
+ "KEYSPACE",
+ "DANGEROUS"
+ ],
+ "command_tips": [
+ "REQUEST_POLICY:ALL_SHARDS",
+ "RESPONSE_POLICY:ALL_SUCCEEDED"
+ ],
+ "arguments": [
+ {
+ "name": "async",
+ "type": "oneof",
+ "optional": true,
+ "arguments": [
+ {
+ "name": "async",
+ "type": "pure-token",
+ "token": "ASYNC",
+ "since": "4.0.0"
+ },
+ {
+ "name": "sync",
+ "type": "pure-token",
+ "token": "SYNC",
+ "since": "6.2.0"
+ }
+ ]
+ }
+ ]
+ }
+}