-first commit
This commit is contained in:
19
node_modules/@redis/bloom/dist/lib/commands/cuckoo/ADD.js
generated
vendored
Normal file
19
node_modules/@redis/bloom/dist/lib/commands/cuckoo/ADD.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const generic_transformers_1 = require("@redis/client/dist/lib/commands/generic-transformers");
|
||||
exports.default = {
|
||||
IS_READ_ONLY: false,
|
||||
/**
|
||||
* Adds an item to a Cuckoo Filter, creating the filter if it does not exist
|
||||
* @param parser - The command parser
|
||||
* @param key - The name of the Cuckoo filter
|
||||
* @param item - The item to add to the filter
|
||||
*/
|
||||
parseCommand(parser, key, item) {
|
||||
parser.push('CF.ADD');
|
||||
parser.pushKey(key);
|
||||
parser.push(item);
|
||||
},
|
||||
transformReply: generic_transformers_1.transformBooleanReply
|
||||
};
|
||||
//# sourceMappingURL=ADD.js.map
|
||||
Reference in New Issue
Block a user