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

19 lines
579 B
JavaScript
Raw Normal View History

2025-11-11 12:36:06 +07:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
/**
* Constructs the LPUSHX command
*
* @param parser - The command parser
* @param key - The key of the list
* @param elements - One or more elements to push to the list if it exists
* @see https://redis.io/commands/lpushx/
*/
parseCommand(parser, key, elements) {
parser.push('LPUSHX');
parser.pushKey(key);
parser.pushVariadic(elements);
},
transformReply: undefined
};
//# sourceMappingURL=LPUSHX.js.map