Files
micro-service-api/node_modules/@redis/client/dist/lib/commands/TOUCH.js
2025-11-11 12:36:06 +07:00

19 lines
570 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
IS_READ_ONLY: false,
/**
* Constructs the TOUCH command to alter the last access time of keys
*
* @param parser - The command parser
* @param key - One or more keys to touch
* @returns The number of keys that were touched
* @see https://redis.io/commands/touch/
*/
parseCommand(parser, key) {
parser.push('TOUCH');
parser.pushKeys(key);
},
transformReply: undefined
};
//# sourceMappingURL=TOUCH.js.map