#pragma once
#include "binder/bound_statement.h"
namespace lbug {
namespace binder {
class BoundImportDatabase final : public BoundStatement {
public:
BoundImportDatabase(std::string filePath, std::string query, std::string indexQuery)
: BoundStatement{common::StatementType::IMPORT_DATABASE,
BoundStatementResult::createSingleStringColumnResult()},
filePath{std::move(filePath)}, query{std::move(query)},
indexQuery{std::move(indexQuery)} {}
std::string getFilePath() const { return filePath; }
std::string getQuery() const { return query; }
std::string getIndexQuery() const { return indexQuery; }
private:
std::string filePath;
std::string query;
std::string indexQuery;
};
} }