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.

21 lines
564 B

  1. #pragma once
  2. #include "Statement.h"
  3. #include "StatementBuilder.h"
  4. #include <string>
  5. #include <vector>
  6. namespace db {
  7. namespace statements {
  8. namespace builder {
  9. class UpdateStatementBuilder : public StatementBuilder {
  10. public:
  11. explicit UpdateStatementBuilder() : StatementBuilder() {}
  12. UpdateStatementBuilder &table(const std::string &table);
  13. UpdateStatementBuilder &set(const std::string &set);
  14. UpdateStatementBuilder &where(const std::string &where);
  15. UpdateStatementBuilder &close();
  16. };
  17. }
  18. }
  19. }