@valkey/valkey-glide
    Preparing search index...

    Enumeration FunctionRestorePolicy

    Option for FUNCTION RESTORE command: GlideClient.functionRestore and GlideClusterClient.functionRestore.

    Index

    Enumeration Members

    Enumeration Members

    APPEND: "APPEND"

    Appends the restored libraries to the existing libraries and aborts on collision. This is the default policy.

    FLUSH: "FLUSH"

    Deletes all existing libraries before restoring the payload.

    REPLACE: "REPLACE"

    Appends the restored libraries to the existing libraries, replacing any existing ones in case of name collisions. Note that this policy doesn't prevent function name collisions, only libraries.