lbug 0.16.1

An in-process property graph database management system built for query speed and scalability
Documentation
#pragma once

#include "parsed_data/attach_info.h"
#include "parser/statement.h"

namespace lbug {
namespace parser {

class AttachDatabase final : public Statement {
public:
    explicit AttachDatabase(AttachInfo attachInfo)
        : Statement{common::StatementType::ATTACH_DATABASE}, attachInfo{std::move(attachInfo)} {}

    const AttachInfo& getAttachInfo() const { return attachInfo; }

private:
    AttachInfo attachInfo;
};

} // namespace parser
} // namespace lbug