- Usage
EVALSHA sha1 numkeys [key ...] [arg ...] - Complexity
- Depends on the script that is executed.
- Since
- 2.6.0
- ACL Categories
- @scripting, @slow
- Command flags
- NOSCRIPT, SKIP_MONITOR, MAY_REPLICATE, NO_MANDATORY_KEYS, STALE
Evaluate a script from the server's cache by its SHA1 digest.
The server caches scripts by using the SCRIPT LOAD command.
The command is otherwise identical to EVAL.
Please refer to the Valkey Programmability and Introduction to Eval Scripts for more information about Lua scripts.
Replies
RESP2
The return value depends on the script that was executed.
RESP3
The return value depends on the script that was executed.