20 lines
834 B
JavaScript
20 lines
834 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const generic_transformers_1 = require("./generic-transformers");
|
|
exports.default = {
|
|
IS_READ_ONLY: false,
|
|
/**
|
|
* Removes all elements in the sorted set with lexicographical values between min and max.
|
|
* @param parser - The Redis command parser.
|
|
* @param key - Key of the sorted set.
|
|
* @param min - Minimum lexicographical value.
|
|
* @param max - Maximum lexicographical value.
|
|
*/
|
|
parseCommand(parser, key, min, max) {
|
|
parser.push('ZREMRANGEBYLEX');
|
|
parser.pushKey(key);
|
|
parser.push((0, generic_transformers_1.transformStringDoubleArgument)(min), (0, generic_transformers_1.transformStringDoubleArgument)(max));
|
|
},
|
|
transformReply: undefined
|
|
};
|
|
//# sourceMappingURL=ZREMRANGEBYLEX.js.map
|