What's new in Valkey 9.0? Discover new features and improvements. Read the announcement.

EVALSHA

Executes a server-side Lua script by SHA1 digest.

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

Replies

RESP2

The return value depends on the script that was executed.

RESP3

The return value depends on the script that was executed.