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

19 lines
536 B
JavaScript
Raw Normal View History

2025-11-11 12:36:06 +07:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
/**
* Constructs the SETNX command
*
* @param parser - The command parser
* @param key - The key to set if it doesn't exist
* @param value - The value to set
* @see https://redis.io/commands/setnx/
*/
parseCommand(parser, key, value) {
parser.push('SETNX');
parser.pushKey(key);
parser.push(value);
},
transformReply: undefined
};
//# sourceMappingURL=SETNX.js.map