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.
28 lines
542 B
28 lines
542 B
#pragma once
|
|
|
|
#include <iostream>
|
|
#include <string>
|
|
#include <sstream>
|
|
|
|
namespace db {
|
|
namespace statements {
|
|
namespace builder {
|
|
class StatementBuilder;
|
|
class InsertStatementBuilder;
|
|
|
|
class Statement {
|
|
public:
|
|
Statement() = default;
|
|
|
|
friend class InsertStatementBuilder;
|
|
friend std::ostream &operator<<(std::ostream &os, const Statement &s);
|
|
|
|
static InsertStatementBuilder insert();
|
|
|
|
std::string str() const;
|
|
private:
|
|
std::string body;
|
|
};
|
|
}
|
|
}
|
|
}
|