Files
micro-service-api/node_modules/@redis/client/dist/lib/commands/FUNCTION_RESTORE.js

20 lines
639 B
JavaScript
Raw Normal View History

2025-11-11 12:36:06 +07:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
NOT_KEYED_COMMAND: true,
IS_READ_ONLY: false,
/**
* Restores libraries from the dump payload
* @param parser - The Redis command parser
* @param dump - Serialized payload of functions to restore
* @param options - Options for the restore operation
*/
parseCommand(parser, dump, options) {
parser.push('FUNCTION', 'RESTORE', dump);
if (options?.mode) {
parser.push(options.mode);
}
},
transformReply: undefined
};
//# sourceMappingURL=FUNCTION_RESTORE.js.map