EVALSHA

Syntax
EVALSHA sha1 numkeys [key [key ...]] [arg [arg ...]]
Available since:
2.6.0
Time complexity:
Depends on the script that is executed.
ACL categories:
@slow, @scripting,

通过其SHA1摘要从服务器的缓存中评估脚本。

服务器通过使用SCRIPT LOAD命令来缓存脚本。 该命令在其他方面与EVAL相同。

请参考Redis ProgrammabilityIntroduction to Eval Scripts以获取有关Lua脚本的更多信息。

RESP2/RESP3 回复

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