-first commit
This commit is contained in:
25
node_modules/@redis/client/dist/lib/commands/COMMAND_GETKEYSANDFLAGS.js
generated
vendored
Normal file
25
node_modules/@redis/client/dist/lib/commands/COMMAND_GETKEYSANDFLAGS.js
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = {
|
||||
NOT_KEYED_COMMAND: true,
|
||||
IS_READ_ONLY: true,
|
||||
/**
|
||||
* Extracts the key names and access flags from a Redis command
|
||||
* @param parser - The Redis command parser
|
||||
* @param args - Command arguments to analyze
|
||||
*/
|
||||
parseCommand(parser, args) {
|
||||
parser.push('COMMAND', 'GETKEYSANDFLAGS');
|
||||
parser.push(...args);
|
||||
},
|
||||
transformReply(reply) {
|
||||
return reply.map(entry => {
|
||||
const [key, flags] = entry;
|
||||
return {
|
||||
key,
|
||||
flags
|
||||
};
|
||||
});
|
||||
}
|
||||
};
|
||||
//# sourceMappingURL=COMMAND_GETKEYSANDFLAGS.js.map
|
||||
Reference in New Issue
Block a user