import { Command } from "./command.js";
/**
 * @see https://redis.io/commands/flushdb
 */
export class FlushDBCommand extends Command {
    constructor([opts], cmdOpts) {
        const command = ["flushdb"];
        if (opts?.async) {
            command.push("async");
        }
        super(command, cmdOpts);
    }
}
