EVALSHA

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,
Compatibility:
Redis Enterprise and Redis Cloud compatibility
Note:
This command's behavior varies in clustered Redis environments. See the multi-key operations page for more information.

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 Redis Programmability and Introduction to Eval Scripts for more information about Lua scripts.

Redis Enterprise and Redis Cloud compatibility

Redis
Enterprise
Redis
Cloud
Notes
✅ Standard
✅ Active-Active
✅ Standard
✅ Active-Active

Return information

The return value depends on the script that was executed.
RATE THIS PAGE
Back to top ↑