"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MSetCommand = void 0;
const command_js_1 = require("./command.js");
/**
 * @see https://redis.io/commands/mset
 */
class MSetCommand extends command_js_1.Command {
    constructor([kv], opts) {
        super([
            "mset",
            ...Object.entries(kv).flatMap(([key, value]) => [key, value]),
        ], opts);
    }
}
exports.MSetCommand = MSetCommand;
