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

  1. #include "Statement.h"
  2. #include "StatementBuilder.h"
  3. namespace db {
  4. namespace statements {
  5. namespace builder {
  6. class InsertStatementBuilder;
  7. InsertStatementBuilder Statement::insert() {
  8. return InsertStatementBuilder{};
  9. }
  10. std::string Statement::str() const {
  11. return body + "\n";
  12. }
  13. std::ostream &operator<<(std::ostream &os, const Statement &s) {
  14. return os << s.body << std::endl;
  15. }
  16. }
  17. }
  18. }