|
|
@ -10,6 +10,8 @@ namespace db { |
|
|
|
class StatementBuilder; |
|
|
|
class InsertStatementBuilder; |
|
|
|
class SelectStatementBuilder; |
|
|
|
class UpdateStatementBuilder; |
|
|
|
class DeleteStatementBuilder; |
|
|
|
|
|
|
|
class Statement { |
|
|
|
public: |
|
|
@ -17,10 +19,14 @@ namespace db { |
|
|
|
|
|
|
|
friend class InsertStatementBuilder; |
|
|
|
friend class SelectStatementBuilder; |
|
|
|
friend class UpdateStatementBuilder; |
|
|
|
friend class DeleteStatementBuilder; |
|
|
|
friend std::ostream &operator<<(std::ostream &os, const Statement &s); |
|
|
|
|
|
|
|
static InsertStatementBuilder insert(); |
|
|
|
static SelectStatementBuilder select(); |
|
|
|
static UpdateStatementBuilder update(); |
|
|
|
static DeleteStatementBuilder remove(); |
|
|
|
|
|
|
|
std::string str() const; |
|
|
|
private: |
|
|
|