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

18 lines
533 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
IS_READ_ONLY: true,
/**
* Constructs the OBJECT REFCOUNT command
*
* @param parser - The command parser
* @param key - The key to get the reference count for
* @see https://redis.io/commands/object-refcount/
*/
parseCommand(parser, key) {
parser.push('OBJECT', 'REFCOUNT');
parser.pushKey(key);
},
transformReply: undefined
};
//# sourceMappingURL=OBJECT_REFCOUNT.js.map