You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#pragma once
#include "Statement.h"
#include <string>
#include <vector>
namespace db { namespace statements { namespace builder { class SelectStatementBuilder; class InsertStatementBuilder;
class AbstractStatementBuilder { protected: Statement &m_statement; explicit AbstractStatementBuilder(Statement &statement) : m_statement(statement) {} public: operator Statement() const { return std::move(m_statement); } };
class StatementBuilder : public AbstractStatementBuilder { public: Statement m_statement; StatementBuilder() : AbstractStatementBuilder{m_statement} { } }; } } }
|