-first commit
This commit is contained in:
19
node_modules/@redis/client/dist/lib/commands/RENAMENX.js
generated
vendored
Normal file
19
node_modules/@redis/client/dist/lib/commands/RENAMENX.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = {
|
||||
IS_READ_ONLY: true,
|
||||
/**
|
||||
* Constructs the RENAMENX command
|
||||
*
|
||||
* @param parser - The command parser
|
||||
* @param key - The key to rename
|
||||
* @param newKey - The new key name, if it doesn't exist
|
||||
* @see https://redis.io/commands/renamenx/
|
||||
*/
|
||||
parseCommand(parser, key, newKey) {
|
||||
parser.push('RENAMENX');
|
||||
parser.pushKeys([key, newKey]);
|
||||
},
|
||||
transformReply: undefined
|
||||
};
|
||||
//# sourceMappingURL=RENAMENX.js.map
|
||||
Reference in New Issue
Block a user