Scripts
SCRIPT LOAD
Load the specified Lua script into the script cache.
Arguments
scriptbodystrrequired
The script to load.
Response
strrequired
The sha1 of the script.
Example
sha1 = redis.script_load("return 1")assert redis.evalsha(sha1) == 1Load the specified Lua script into the script cache.
The script to load.
The sha1 of the script.
sha1 = redis.script_load("return 1")assert redis.evalsha(sha1) == 1