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

18 lines
511 B
JavaScript
Raw Normal View History

2025-11-11 12:36:06 +07:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
IS_READ_ONLY: true,
/**
* Sets a key to a new value and returns its old value
* @param parser - The Redis command parser
* @param key - Key to set
* @param value - Value to set
*/
parseCommand(parser, key, value) {
parser.push('GETSET');
parser.pushKey(key);
parser.push(value);
},
transformReply: undefined
};
//# sourceMappingURL=GETSET.js.map