fixed some includes
This commit is contained in:
@@ -3,17 +3,13 @@
|
||||
|
||||
#include "matador/utils/attribute_writer.hpp"
|
||||
|
||||
#include <optional>
|
||||
#include "matador/sql/interface/connection_impl.hpp"
|
||||
|
||||
namespace matador::sql {
|
||||
class dialect;
|
||||
class connection_impl;
|
||||
}
|
||||
#include <optional>
|
||||
|
||||
namespace matador::query {
|
||||
|
||||
class attribute_string_writer final : public utils::attribute_writer
|
||||
{
|
||||
class attribute_string_writer final : public utils::attribute_writer {
|
||||
public:
|
||||
attribute_string_writer(const sql::dialect &d, std::optional<std::reference_wrapper<const sql::connection_impl>> conn);
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
#ifndef MATADOR_INSERT_QUERY_BUILDER_HPP
|
||||
#define MATADOR_INSERT_QUERY_BUILDER_HPP
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "matador/object/collection.hpp"
|
||||
#include "matador/object/object_ptr.hpp"
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include "matador/query/query_data.hpp"
|
||||
|
||||
#include "matador/sql/query_context.hpp"
|
||||
#include "matador/sql/interface/connection_impl.hpp"
|
||||
|
||||
#include "matador/utils/placeholder.hpp"
|
||||
|
||||
@@ -12,7 +13,6 @@
|
||||
#include <optional>
|
||||
|
||||
namespace matador::sql {
|
||||
class connection_impl;
|
||||
class dialect;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,6 @@ public:
|
||||
const sql::dialect &d,
|
||||
std::optional<std::reference_wrapper<const sql::connection_impl>> conn);
|
||||
|
||||
protected:
|
||||
void visit(internal::query_alter_part& part) override;
|
||||
void visit(internal::query_alter_table_part& part) override;
|
||||
void visit(internal::query_add_key_constraint_part& part) override;
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
#ifndef MATADOR_QUERY_UTILS_HPP
|
||||
#define MATADOR_QUERY_UTILS_HPP
|
||||
|
||||
#include "table.hpp"
|
||||
#include "matador/sql/dialect.hpp"
|
||||
#include "matador/utils/value.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -11,6 +10,7 @@ class dialect;
|
||||
struct query_context;
|
||||
}
|
||||
namespace matador::query {
|
||||
class table;
|
||||
class table_column;
|
||||
|
||||
void prepare_column(sql::query_context& ctx, const sql::dialect& d, const table_column& col);
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
#include "matador/object/attribute.hpp"
|
||||
|
||||
#include "matador/sql/dialect.hpp"
|
||||
#include "matador/sql/connection_info.hpp"
|
||||
#include "matador/sql/execute_result.hpp"
|
||||
|
||||
@@ -17,13 +18,11 @@ using blob_type_t = std::vector<unsigned char>;
|
||||
}
|
||||
|
||||
namespace matador::sql {
|
||||
|
||||
struct query_context;
|
||||
class query_result_impl;
|
||||
class statement_impl;
|
||||
|
||||
class connection_impl
|
||||
{
|
||||
class connection_impl {
|
||||
public:
|
||||
virtual ~connection_impl() = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user