Skip to content

Redis scripting commands (7/22 implemented)

EVAL

Executes a server-side Lua script.

EVALSHA

Executes a server-side Lua script by SHA1 digest.

SCRIPT

A container for Lua scripts management commands.

SCRIPT EXISTS

Determines whether server-side Lua scripts exist in the script cache.

SCRIPT FLUSH

Removes all server-side Lua scripts from the script cache.

SCRIPT HELP

Returns helpful text about the different subcommands.

SCRIPT LOAD

Loads a server-side Lua script to the script cache.

Unsupported scripting commands

To implement support for a command, see here

EVALSHA_RO (not implemented)

Executes a read-only server-side Lua script by SHA1 digest.

EVAL_RO (not implemented)

Executes a read-only server-side Lua script.

FCALL (not implemented)

Invokes a function.

FCALL_RO (not implemented)

Invokes a read-only function.

FUNCTION (not implemented)

A container for function commands.

FUNCTION DELETE (not implemented)

Deletes a library and its functions.

FUNCTION DUMP (not implemented)

Dumps all libraries into a serialized binary payload.

FUNCTION FLUSH (not implemented)

Deletes all libraries and functions.

FUNCTION KILL (not implemented)

Terminates a function during execution.

FUNCTION LIST (not implemented)

Returns information about all libraries.

FUNCTION LOAD (not implemented)

Creates a library.

FUNCTION RESTORE (not implemented)

Restores all libraries from a payload.

FUNCTION STATS (not implemented)

Returns information about a function during execution.

SCRIPT DEBUG (not implemented)

Sets the debug mode of server-side Lua scripts.

SCRIPT KILL (not implemented)

Terminates a server-side Lua script during execution.