relation_completer progress

This commit is contained in:
Sascha Kühl
2025-07-02 16:13:56 +02:00
parent 38cbffc18b
commit c4a00f19fd
4 changed files with 28 additions and 31 deletions
+4 -1
View File
@@ -33,11 +33,14 @@ public:
[[nodiscard]] bool is_has_many() const;
[[nodiscard]] bool is_belongs_to() const;
[[nodiscard]] std::shared_ptr<relation_endpoint> foreign_endpoint() const;
void link_foreign_endpoint(const std::shared_ptr<relation_endpoint>& endpoint);
private:
std::string field_name_;
relation_type type_;
std::shared_ptr<schema_node> node_;
std::weak_ptr<relation_endpoint> foreign_endpoint;
std::shared_ptr<relation_endpoint> foreign_endpoint_;
};
}