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
709 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 &exists();
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();
};
}
}
}