Invokes a read-only function.
FCALL_RO
function
numkeys key [key…] arg
[arg…]
This is a read-only variant of the FCALL
command that
cannot execute commands that modify data.
For more information about when to use this command vs
FCALL
, please refer to Read-only
scripts.
For more information please refer to Introduction to Valkey Functions.
The return value depends on the function that was executed.
Depends on the function that is executed.
@scripting @slow
EVAL, EVALSHA, EVALSHA_RO, EVAL_RO, FCALL, FUNCTION, FUNCTION DELETE, FUNCTION DUMP, FUNCTION FLUSH, FUNCTION HELP, FUNCTION KILL, FUNCTION LIST, FUNCTION LOAD, FUNCTION RESTORE, FUNCTION STATS, SCRIPT, SCRIPT DEBUG, SCRIPT EXISTS, SCRIPT FLUSH, SCRIPT HELP, SCRIPT KILL, SCRIPT LOAD, SCRIPT SHOW.