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.
22 lines
469 B
22 lines
469 B
#include "Statement.h"
|
|
#include "StatementBuilder.h"
|
|
|
|
namespace db {
|
|
namespace statements {
|
|
namespace builder {
|
|
class InsertStatementBuilder;
|
|
|
|
InsertStatementBuilder Statement::insert() {
|
|
return InsertStatementBuilder{};
|
|
}
|
|
|
|
std::string Statement::str() const {
|
|
return body + "\n";
|
|
}
|
|
|
|
std::ostream &operator<<(std::ostream &os, const Statement &s) {
|
|
return os << s.body << std::endl;
|
|
}
|
|
}
|
|
}
|
|
}
|