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.
 
 
 
 

23 lines
687 B

#pragma once
#include "Statement.h"
#include "StatementBuilder.h"
#include <string>
#include <vector>
namespace db {
namespace statements {
namespace builder {
class InsertStatementBuilder : public StatementBuilder {
public:
explicit InsertStatementBuilder() : StatementBuilder() {}
InsertStatementBuilder &table(const std::string &table);
InsertStatementBuilder &columns(const std::string &cols);
InsertStatementBuilder &values();
InsertStatementBuilder &row(const std::string &values);
InsertStatementBuilder &row(const std::vector<std::string> &values);
InsertStatementBuilder &close();
};
}
}
}