20 lines
638 B
JavaScript
20 lines
638 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.default = {
|
|
IS_READ_ONLY: false,
|
|
/**
|
|
* Constructs the SPOP command to remove and return multiple random members from a set
|
|
*
|
|
* @param parser - The command parser
|
|
* @param key - The key of the set to pop from
|
|
* @param count - The number of members to pop
|
|
* @see https://redis.io/commands/spop/
|
|
*/
|
|
parseCommand(parser, key, count) {
|
|
parser.push('SPOP');
|
|
parser.pushKey(key);
|
|
parser.push(count.toString());
|
|
},
|
|
transformReply: undefined
|
|
};
|
|
//# sourceMappingURL=SPOP_COUNT.js.map
|