Restores all libraries from a payload.
FUNCTION
RESTORE serialized-value
[FLUSH |
APPEND |
REPLACE]
Restore libraries from the serialized payload.
You can use the optional policy argument to provide a policy for handling existing libraries. The following policies are allowed:
For more information please refer to Introduction to Valkey Functions.
Simple string
reply: OK.
O(N) where N is the number of functions on the payload
@scripting
EVAL, EVALSHA, EVALSHA_RO, EVAL_RO, FCALL, FCALL_RO, FUNCTION, FUNCTION DELETE, FUNCTION DUMP, FUNCTION FLUSH, FUNCTION HELP, FUNCTION KILL, FUNCTION LIST, FUNCTION LOAD, FUNCTION STATS, SCRIPT, SCRIPT DEBUG, SCRIPT EXISTS, SCRIPT FLUSH, SCRIPT HELP, SCRIPT KILL, SCRIPT LOAD.