-first commit
This commit is contained in:
18
node_modules/@redis/bloom/dist/lib/commands/top-k/ADD.js
generated
vendored
Normal file
18
node_modules/@redis/bloom/dist/lib/commands/top-k/ADD.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = {
|
||||
IS_READ_ONLY: false,
|
||||
/**
|
||||
* Adds one or more items to a Top-K filter and returns items dropped from the top-K list
|
||||
* @param parser - The command parser
|
||||
* @param key - The name of the Top-K filter
|
||||
* @param items - One or more items to add to the filter
|
||||
*/
|
||||
parseCommand(parser, key, items) {
|
||||
parser.push('TOPK.ADD');
|
||||
parser.pushKey(key);
|
||||
parser.pushVariadic(items);
|
||||
},
|
||||
transformReply: undefined
|
||||
};
|
||||
//# sourceMappingURL=ADD.js.map
|
||||
Reference in New Issue
Block a user