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

19 lines
551 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
/**
* Constructs the RPUSH command
*
* @param parser - The command parser
* @param key - The list key to push to
* @param element - One or more elements to push
* @see https://redis.io/commands/rpush/
*/
parseCommand(parser, key, element) {
parser.push('RPUSH');
parser.pushKey(key);
parser.pushVariadic(element);
},
transformReply: undefined
};
//# sourceMappingURL=RPUSH.js.map