EVALSHA
Syntax
EVALSHA sha1 numkeys [key [key ...]] [arg [arg ...]]
- Available since:
- Redis Open Source 2.6.0
- Time complexity:
- Depends on the script that is executed.
- ACL categories:
@slow
,@scripting
,
Evaluate a script from the server's cache by its SHA1 digest.
The server caches scripts by using theSCRIPT LOAD
command.The command is otherwise identical toEVAL
.
Please refer to theRedis Programmability andIntroduction to Eval Scripts for more information about Lua scripts.
Return information
The return value depends on the script that was executed.
- See also
- EVAL
- EVAL_RO
- EVALSHA
- EVALSHA_RO
- FCALL
- FCALL_RO
- FUNCTION DELETE
- FUNCTION DUMP
- FUNCTION FLUSH
- FUNCTION KILL
- FUNCTION LIST
- FUNCTION LOAD
- FUNCTION RESTORE
- FUNCTION STATS
- SCRIPT DEBUG
- SCRIPT EXISTS
- SCRIPT FLUSH
- SCRIPT KILL
- SCRIPT LOAD