Executes a read-only server-side Lua script by SHA1 digest.
EVALSHA_RO
sha1 numkeys key [key…] arg [arg…]
This is a read-only variant of the EVALSHA
command that cannot execute commands that modify data.
For more information about when to use this command vs EVALSHA
, please refer to Read-only scripts.
For more information about EVALSHA
scripts please refer to Introduction to Eval Scripts.
The return value depends on the script that was executed.
Depends on the script that is executed.
@scripting @slow
EVAL, EVALSHA, EVAL_RO, FCALL, FCALL_RO, FUNCTION, FUNCTION DELETE, FUNCTION DUMP, FUNCTION FLUSH, FUNCTION HELP, FUNCTION KILL, FUNCTION LIST, FUNCTION LOAD, FUNCTION RESTORE, FUNCTION STATS, SCRIPT, SCRIPT DEBUG, SCRIPT EXISTS, SCRIPT FLUSH, SCRIPT HELP, SCRIPT KILL, SCRIPT LOAD, SCRIPT SHOW.