#include "Statement.h" #include "StatementBuilder.h" #include "InsertStatementBuilder.h" #include "SelectStatementBuilder.h" namespace db { namespace statements { namespace builder { InsertStatementBuilder Statement::insert() { return InsertStatementBuilder{}; } SelectStatementBuilder Statement::select() { return SelectStatementBuilder{}; } std::string Statement::str() const { return body + "\n"; } std::ostream &operator<<(std::ostream &os, const Statement &s) { return os << s.body << std::endl; } } } }