added date_type_t, time_type_t and timestamp, ensure allocated postgres resources are released, split repository into basic_repository and repository.

This commit is contained in:
2026-01-06 15:43:20 +01:00
parent f07a360da2
commit 0c6b5a0a93
60 changed files with 1132 additions and 1225 deletions
+5 -5
View File
@@ -5,16 +5,16 @@
#include <algorithm>
namespace matador::object {
basic_object_info::basic_object_info(std::shared_ptr<repository_node> node, std::shared_ptr<class object>&& obj)
: object_(std::move(obj))
, node_(std::move(node)) {}
basic_object_info::basic_object_info(const repository_node& node, const std::shared_ptr<class object>& obj)
: object_(obj)
, node_(node) {}
std::type_index basic_object_info::type_index() const {
return node_->type_index();
return node_.type_index();
}
std::string basic_object_info::name() const {
return node_->name();
return node_.name();
}
std::shared_ptr<class object> basic_object_info::object() const {