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

22 lines
774 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
IS_READ_ONLY: false,
/**
* Constructs the LMOVE command
*
* @param parser - The command parser
* @param source - The source list key
* @param destination - The destination list key
* @param sourceSide - The side to pop from (LEFT or RIGHT)
* @param destinationSide - The side to push to (LEFT or RIGHT)
* @see https://redis.io/commands/lmove/
*/
parseCommand(parser, source, destination, sourceSide, destinationSide) {
parser.push('LMOVE');
parser.pushKeys([source, destination]);
parser.push(sourceSide, destinationSide);
},
transformReply: undefined
};
//# sourceMappingURL=LMOVE.js.map