SCRIPT

Since 1.1.0Scripting

Syntax

SCRIPT
  • ACL categories: @scripting, @slow
  • Arity: -2

Manages the cache of scripts EVAL and SCRIPT LOAD fill, and the script running. See its subcommands.

Subcommands

  • SCRIPT DEBUG: Accepted for compatibility with Redis, with YES, SYNC or NO.
  • SCRIPT EXISTS: Tells, for each SHA1 digest, whether the script is cached.
  • SCRIPT FLUSH: Empties the script cache.
  • SCRIPT HELP: Lists the SCRIPT subcommands and what each does.
  • SCRIPT KILL: Stops the script running, if it has not written anything.
  • SCRIPT LOAD: Compiles a script and caches it, without running it, and returns its SHA1 digest for EVALSHA.