startet with connection query intermediates
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#ifndef QUERY_CONNECTION_HPP
|
||||
#define QUERY_CONNECTION_HPP
|
||||
|
||||
#include "matador/sql/connection_intermediates.hpp"
|
||||
#include "matador/sql/dialect.hpp"
|
||||
#include "matador/sql/query_builder.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace matador::sql {
|
||||
|
||||
class connection
|
||||
{
|
||||
public:
|
||||
connection();
|
||||
query_select_intermediate select(std::initializer_list<std::string> column_names);
|
||||
|
||||
result execute(const std::string &sql);
|
||||
|
||||
private:
|
||||
dialect dialect_;
|
||||
query_builder query_;
|
||||
};
|
||||
|
||||
}
|
||||
#endif //QUERY_CONNECTION_HPP
|
||||
Reference in New Issue
Block a user