• 主页

  • 投资

  • IT

    🔥
  • 设计

  • 销售

  • 共46篇

    Redis数据库

关闭

返回栏目

关闭

返回Redis数据库栏目

27 - 命令 - Lua脚本

作者:

贺及楼

成为作者

更新日期:2021-11-16 10:41:39

命令 - Lua脚本

EVAL script numkeys key [key …] arg [arg …]
在服务器端执行 LUA 脚本

EVALSHA sha1 numkeys key [key …] arg [arg …]
在服务器端执行 LUA 脚本

SCRIPT DEBUG YES|SYNC|NO
Set the debug mode for executed scripts.

SCRIPT EXISTS script [script …]
Check existence of scripts in the script cache.

SCRIPT FLUSH
删除服务器缓存中所有Lua脚本。

SCRIPT KILL
杀死当前正在运行的 Lua 脚本。

SCRIPT LOAD script
从服务器缓存中装载一个Lua脚本。