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
667 B

#pragma once
#include "Statement.h"
#include "StatementBuilder.h"
#include <string>
#include <vector>
namespace db {
namespace statements {
namespace builder {
class SelectStatementBuilder : public StatementBuilder {
public:
explicit SelectStatementBuilder() : StatementBuilder() {}
SelectStatementBuilder &columns(const std::string &cols);
SelectStatementBuilder &where(const std::string &where);
SelectStatementBuilder &inner_join(const std::string &table, const std::string &on);
SelectStatementBuilder &from_table(const std::string &table);
SelectStatementBuilder &close();
};
}
}
}