Files
micro-service-api/node_modules/@redis/client/dist/lib/commands/ZUNION.js
2025-11-11 12:36:06 +07:00

21 lines
747 B
JavaScript

"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