Files
micro-service-api/node_modules/@redis/client/dist/lib/commands/GETBIT.js

19 lines
568 B
JavaScript
Raw Normal View History

2025-11-11 12:36:06 +07:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
CACHEABLE: true,
IS_READ_ONLY: true,
/**
* Returns the bit value at a given offset in a string value
* @param parser - The Redis command parser
* @param key - Key to retrieve the bit from
* @param offset - Bit offset
*/
parseCommand(parser, key, offset) {
parser.push('GETBIT');
parser.pushKey(key);
parser.push(offset.toString());
},
transformReply: undefined
};
//# sourceMappingURL=GETBIT.js.map