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

22 lines
611 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,
/**
* Constructs the PFADD command
*
* @param parser - The command parser
* @param key - The key of the HyperLogLog
* @param element - Optional elements to add
* @see https://redis.io/commands/pfadd/
*/
parseCommand(parser, key, element) {
parser.push('PFADD');
parser.pushKey(key);
if (element) {
parser.pushVariadic(element);
}
},
transformReply: undefined
};
//# sourceMappingURL=PFADD.js.map