2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-19 03:25:44 +00:00
cheat.sheets/sheets/_redis/scripting
2018-05-19 20:40:36 +00:00

22 lines
511 B
Plaintext

# Execute a Lua script server side
EVAL script numkeys key [key ...] arg [arg ...]
# Execute a Lua script server side
EVALSHA sha1 numkeys key [key ...] arg [arg ...]
# Set the debug mode for executed scripts.
SCRIPT DEBUG YES|SYNC|NO
# Check existence of scripts in the script cache.
SCRIPT EXISTS sha1 [sha1 ...]
# Remove all the scripts from the script cache.
SCRIPT FLUSH
# Kill the script currently in execution.
SCRIPT KILL
# Load the specified Lua script into the script cache.
SCRIPT LOAD script