Redis: Scripting Cheat Sheet

Eval Command

redis 127.0.0.1:6379> EVAL script numkeys key [key ...] arg [arg ...]

Evalsha Command

redis 127.0.0.1:6379> EVALSHA sha1 numkeys key [key ...] arg [arg ...]

Scripting Script Exists Command

redis 127.0.0.1:6379> SCRIPT EXISTS script [script ...]

Scripting Script Flush Command

redis 127.0.0.1:6379> SCRIPT FLUSH 

Scripting Script Kill Command

redis 127.0.0.1:6379> SCRIPT KILL

Scripting Script Load Command

redis 127.0.0.1:6379> SCRIPT LOAD script

Leave a Reply

Your email address will not be published. Required fields are marked *