-first commit
This commit is contained in:
21
node_modules/@redis/client/dist/lib/commands/ZUNION.js
generated
vendored
Normal file
21
node_modules/@redis/client/dist/lib/commands/ZUNION.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const generic_transformers_1 = require("./generic-transformers");
|
||||
exports.default = {
|
||||
IS_READ_ONLY: true,
|
||||
/**
|
||||
* Returns the union of multiple sorted sets.
|
||||
* @param parser - The Redis command parser.
|
||||
* @param keys - Keys of the sorted sets to combine.
|
||||
* @param options - Optional parameters for the union operation.
|
||||
*/
|
||||
parseCommand(parser, keys, options) {
|
||||
parser.push('ZUNION');
|
||||
(0, generic_transformers_1.parseZKeysArguments)(parser, keys);
|
||||
if (options?.AGGREGATE) {
|
||||
parser.push('AGGREGATE', options.AGGREGATE);
|
||||
}
|
||||
},
|
||||
transformReply: undefined
|
||||
};
|
||||
//# sourceMappingURL=ZUNION.js.map
|
||||
Reference in New Issue
Block a user