Redis · Command
EVAL
EVAL executes a server-side Lua 5.1 script. It separates explicit key names from regular arguments and makes them available through KEYS and ARGV.
Last updated
- Since
- 2.6.0
Syntax
EVAL script numkeys [key [key ...]] [arg [arg ...]]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
EVAL_ROEVALSHAEVALSHA_ROSCRIPT LOADSCRIPT EXISTSFCALLFCALL_RO