23 lines
383 B
C++
23 lines
383 B
C++
#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
|