-first commit
This commit is contained in:
22
node_modules/@redis/client/dist/lib/commands/PFADD.js
generated
vendored
Normal file
22
node_modules/@redis/client/dist/lib/commands/PFADD.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
"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
|
||||
Reference in New Issue
Block a user