summaryrefslogtreecommitdiffstats
path: root/src/commands/script-exists.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/commands/script-exists.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/commands/script-exists.json b/src/commands/script-exists.json
new file mode 100644
index 0000000..e4070f2
--- /dev/null
+++ b/src/commands/script-exists.json
@@ -0,0 +1,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
+ }
+ ]
+ }
+}