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
+3 -2
View File
@@ -28,7 +28,8 @@ void attribute::name( const std::string& n ) {
}
std::string attribute::full_name() const {
return owner_ ? owner_->name() + "." + name_ : name_;
const auto owner = owner_.lock();
return owner ? owner->name() + "." + name_ : name_;
}
const utils::field_attributes &attribute::attributes() const {
@@ -48,7 +49,7 @@ utils::basic_type attribute::type() const {
}
std::shared_ptr<object> attribute::owner() const {
return owner_;
return owner_.lock();
}
void attribute::change_type(const utils::basic_type type, const utils::field_attributes& attr) {