Files
micro-service-api/node_modules/@redis/client/dist/lib/commands/HGETALL.js
2025-11-11 12:36:06 +07:00

22 lines
631 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const generic_transformers_1 = require("./generic-transformers");
exports.default = {
CACHEABLE: true,
IS_READ_ONLY: true,
/**
* Gets all fields and values in a hash
* @param parser - The Redis command parser
* @param key - Key of the hash
*/
parseCommand(parser, key) {
parser.push('HGETALL');
parser.pushKey(key);
},
TRANSFORM_LEGACY_REPLY: true,
transformReply: {
2: (generic_transformers_1.transformTuplesReply),
3: undefined
}
};
//# sourceMappingURL=HGETALL.js.map