diff --git a/core/commands_gen.go b/core/commands_gen.go index 1a1fde92..7ab58adf 100644 --- a/core/commands_gen.go +++ b/core/commands_gen.go @@ -1472,5 +1472,204 @@ var commandsJSON = `{ } ], "group": "keys" + }, + "EVAL":{ + "summary": "Evaluates a Lua script", + "complecxity": "Depends on the evaluated script", + "arguments": [ + { + "name": "script", + "type": "string" + }, + { + "name": "numkeys", + "type": "integer" + }, + { + "name": "key", + "type": "string", + "optional": true, + "multiple": true + }, + { + "name": "arg", + "type": "string", + "optional": true, + "multiple": true + } + ], + "since": "1.10.0", + "group": "scripting" + }, + "EVALSHA":{ + "summary": "Evaluates a Lua script cached on the server by its SHA1 digest", + "complecxity": "Depends on the evaluated script", + "arguments": [ + { + "name": "sha1", + "type": "string" + }, + { + "name": "numkeys", + "type": "integer" + }, + { + "name": "key", + "type": "string", + "optional": true, + "multiple": true + }, + { + "name": "arg", + "type": "string", + "optional": true, + "multiple": true + } + ], + "since": "1.10.0", + "group": "scripting" + }, + "EVALRO":{ + "summary": "Evaluates a read-only Lua script", + "complecxity": "Depends on the evaluated script", + "arguments": [ + { + "name": "script", + "type": "string" + }, + { + "name": "numkeys", + "type": "integer" + }, + { + "name": "key", + "type": "string", + "optional": true, + "multiple": true + }, + { + "name": "arg", + "type": "string", + "optional": true, + "multiple": true + } + ], + "since": "1.10.0", + "group": "scripting" + }, + "EVALROSHA":{ + "summary": "Evaluates a read-only Lua script cached on the server by its SHA1 digest", + "complecxity": "Depends on the evaluated script", + "arguments": [ + { + "name": "script", + "type": "string" + }, + { + "name": "numkeys", + "type": "integer" + }, + { + "name": "key", + "type": "string", + "optional": true, + "multiple": true + }, + { + "name": "arg", + "type": "string", + "optional": true, + "multiple": true + } + ], + "since": "1.10.0", + "group": "scripting" + }, + "EVALNA":{ + "summary": "Evaluates a Lua script in a non-atomic fashion", + "complecxity": "Depends on the evaluated script", + "arguments": [ + { + "name": "script", + "type": "string" + }, + { + "name": "numkeys", + "type": "integer" + }, + { + "name": "key", + "type": "string", + "optional": true, + "multiple": true + }, + { + "name": "arg", + "type": "string", + "optional": true, + "multiple": true + } + ], + "since": "1.10.0", + "group": "scripting" + }, + "EVALNASHA":{ + "summary": "Evaluates, in a non-atomic fashion, a Lua script cached on the server by its SHA1 digest", + "complecxity": "Depends on the evaluated script", + "arguments": [ + { + "name": "sha1", + "type": "string" + }, + { + "name": "numkeys", + "type": "integer" + }, + { + "name": "key", + "type": "string", + "optional": true, + "multiple": true + }, + { + "name": "arg", + "type": "string", + "optional": true, + "multiple": true + } + ], + "since": "1.10.0", + "group": "scripting" + }, + "SCRIPT EXISTS":{ + "summary": "Returns information about the existence of the scripts in server cache", + "complexity": "O(N) where N is the number of provided sha1 arguments", + "arguments": [ + { + "name": "sha1", + "type": "string", + "multiple": true + } + ], + "since": "1.10.0", + "group": "scripting" + }, + "SCRIPT LOAD":{ + "summary": "Loads the compiled version of a script into the server cache, without executing", + "complexity": "O(N) where N is the number of bytes in the script", + "arguments": [ + { + "name": "script", + "type": "string" + } + ], + "since": "1.10.0", + "group": "scripting" + }, + "SCRIPT FLUSH":{ + "summary": "Flushes the server cache of Lua scripts", + "complexity": "O(1)", + "since": "1.10.0", + "group": "scripting" } }`