-first commit
This commit is contained in:
26
node_modules/@redis/client/dist/lib/commands/ZSCAN.js
generated
vendored
Normal file
26
node_modules/@redis/client/dist/lib/commands/ZSCAN.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const SCAN_1 = require("./SCAN");
|
||||
const generic_transformers_1 = require("./generic-transformers");
|
||||
exports.default = {
|
||||
IS_READ_ONLY: true,
|
||||
/**
|
||||
* Incrementally iterates over a sorted set.
|
||||
* @param parser - The Redis command parser.
|
||||
* @param key - Key of the sorted set.
|
||||
* @param cursor - Cursor position to start the scan from.
|
||||
* @param options - Optional scan parameters (COUNT, MATCH, TYPE).
|
||||
*/
|
||||
parseCommand(parser, key, cursor, options) {
|
||||
parser.push('ZSCAN');
|
||||
parser.pushKey(key);
|
||||
(0, SCAN_1.parseScanArguments)(parser, cursor, options);
|
||||
},
|
||||
transformReply([cursor, rawMembers]) {
|
||||
return {
|
||||
cursor,
|
||||
members: generic_transformers_1.transformSortedSetReply[2](rawMembers)
|
||||
};
|
||||
}
|
||||
};
|
||||
//# sourceMappingURL=ZSCAN.js.map
|
||||
Reference in New Issue
Block a user