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

19 lines
616 B
JavaScript
Raw Normal View History

2025-11-11 12:36:06 +07:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const MSET_1 = require("./MSET");
exports.default = {
IS_READ_ONLY: true,
/**
* Constructs the MSETNX command
*
* @param parser - The command parser
* @param toSet - Key-value pairs to set if none of the keys exist (array of tuples, flat array, or object)
* @see https://redis.io/commands/msetnx/
*/
parseCommand(parser, toSet) {
parser.push('MSETNX');
return (0, MSET_1.parseMSetArguments)(parser, toSet);
},
transformReply: undefined
};
//# sourceMappingURL=MSETNX.js.map