summaryrefslogtreecommitdiffstats
path: root/src/commands/script-exists.json
blob: e4070f2391c970bbf7a973883443c9257b34ecfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
    "EXISTS": {
        "summary": "Check existence of scripts in the script cache.",
        "complexity": "O(N) with N being the number of scripts to check (so checking a single script is an O(1) operation).",
        "group": "scripting",
        "since": "2.6.0",
        "arity": -3,
        "container": "SCRIPT",
        "function": "scriptCommand",
        "command_flags": [
            "NOSCRIPT"
        ],
        "acl_categories": [
            "SCRIPTING"
        ],
        "command_tips": [
            "REQUEST_POLICY:ALL_SHARDS",
            "RESPONSE_POLICY:AGG_LOGICAL_AND"
        ],
        "arguments": [
            {
                "name": "sha1",
                "type": "string",
                "multiple": true
            }
        ]
    }
}