query compiler progress
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#ifndef QUERY_QUERY_HPP
|
||||
#define QUERY_QUERY_HPP
|
||||
|
||||
#include "matador/query/query_parts.hpp"
|
||||
|
||||
namespace matador::query {
|
||||
|
||||
class connection;
|
||||
class query
|
||||
{
|
||||
public:
|
||||
explicit query(connection &c);
|
||||
|
||||
query& select(const std::vector<column> &columns);
|
||||
query& from(const std::string &table, const std::string &as = "");
|
||||
|
||||
private:
|
||||
connection &connection_;
|
||||
};
|
||||
|
||||
}
|
||||
#endif //QUERY_QUERY_HPP
|
||||
Reference in New Issue
Block a user