21 lines
795 B
JavaScript
21 lines
795 B
JavaScript
"use strict";
|
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
};
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const ZRANDMEMBER_1 = __importDefault(require("./ZRANDMEMBER"));
|
|
exports.default = {
|
|
IS_READ_ONLY: ZRANDMEMBER_1.default.IS_READ_ONLY,
|
|
/**
|
|
* Returns one or more random members from a sorted set.
|
|
* @param parser - The Redis command parser.
|
|
* @param key - Key of the sorted set.
|
|
* @param count - Number of members to return.
|
|
*/
|
|
parseCommand(parser, key, count) {
|
|
ZRANDMEMBER_1.default.parseCommand(parser, key);
|
|
parser.push(count.toString());
|
|
},
|
|
transformReply: undefined
|
|
};
|
|
//# sourceMappingURL=ZRANDMEMBER_COUNT.js.map
|