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.
 
 
 
 

27 lines
606 B

#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;
}
}
}
}