summaryrefslogtreecommitdiffstats
path: root/src/commands/bgsave.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/bgsave.json')
-rw-r--r--src/commands/bgsave.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/commands/bgsave.json b/src/commands/bgsave.json
new file mode 100644
index 0000000..4b645db
--- /dev/null
+++ b/src/commands/bgsave.json
@@ -0,0 +1,30 @@
+{
+ "BGSAVE": {
+ "summary": "Asynchronously save the dataset to disk",
+ "complexity": "O(1)",
+ "group": "server",
+ "since": "1.0.0",
+ "arity": -1,
+ "function": "bgsaveCommand",
+ "history": [
+ [
+ "3.2.2",
+ "Added the `SCHEDULE` option."
+ ]
+ ],
+ "command_flags": [
+ "NO_ASYNC_LOADING",
+ "ADMIN",
+ "NOSCRIPT"
+ ],
+ "arguments": [
+ {
+ "name": "schedule",
+ "token": "SCHEDULE",
+ "type": "pure-token",
+ "optional": true,
+ "since": "3.2.2"
+ }
+ ]
+ }
+}