implemented lazy loading for object_ptr and belongs_to
This commit is contained in:
@@ -7,11 +7,13 @@
|
||||
#include "matador/sql/object_parameter_binder.hpp"
|
||||
|
||||
#include "matador/utils/data_type_traits.hpp"
|
||||
#include "matador/utils/error.hpp"
|
||||
#include "matador/utils/result.hpp"
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace matador::sql {
|
||||
|
||||
class query_result_impl;
|
||||
class sql_error;
|
||||
|
||||
class statement_impl {
|
||||
|
||||
@@ -40,6 +40,8 @@ public:
|
||||
[[nodiscard]] std::unique_ptr<utils::attribute_writer> create_binder() const;
|
||||
|
||||
protected:
|
||||
friend class statement;
|
||||
|
||||
std::unique_ptr<statement_impl> statement_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user