summaryrefslogtreecommitdiffstats
path: root/src/commands/save.json
blob: 0645e27788a399aa9db44acfcc37eb2c130e50b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
    "SAVE": {
        "summary": "Synchronously saves the database(s) to disk.",
        "complexity": "O(N) where N is the total number of keys in all databases",
        "group": "server",
        "since": "1.0.0",
        "arity": 1,
        "function": "saveCommand",
        "command_flags": [
            "NO_ASYNC_LOADING",
            "ADMIN",
            "NOSCRIPT",
            "NO_MULTI"
        ],
        "reply_schema": {
            "const": "OK"
        }
    }
}