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

19 lines
559 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
NOT_KEYED_COMMAND: true,
IS_READ_ONLY: true,
/**
* Constructs the SCRIPT EXISTS command
*
* @param parser - The command parser
* @param sha1 - One or more SHA1 digests of scripts
* @see https://redis.io/commands/script-exists/
*/
parseCommand(parser, sha1) {
parser.push('SCRIPT', 'EXISTS');
parser.pushVariadic(sha1);
},
transformReply: undefined
};
//# sourceMappingURL=SCRIPT_EXISTS.js.map