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

27 lines
800 B
JavaScript
Raw Normal View History

2025-11-11 12:36:06 +07:00
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const HSCAN_1 = __importDefault(require("./HSCAN"));
exports.default = {
IS_READ_ONLY: true,
/**
* Constructs the HSCAN command with NOVALUES option
*
* @param args - The same parameters as HSCAN command
* @see https://redis.io/commands/hscan/
*/
parseCommand(...args) {
const parser = args[0];
HSCAN_1.default.parseCommand(...args);
parser.push('NOVALUES');
},
transformReply([cursor, fields]) {
return {
cursor,
fields
};
}
};
//# sourceMappingURL=HSCAN_NOVALUES.js.map