relation completer progress

This commit is contained in:
2025-06-29 22:41:39 +02:00
parent 88bab8bf5e
commit e46de87355
6 changed files with 53 additions and 24 deletions
+13 -1
View File
@@ -18,4 +18,16 @@ relation_type relation_endpoint::type() const {
const schema_node &relation_endpoint::node() const {
return *node_;
}
}
bool relation_endpoint::is_has_one() const {
return type_ == relation_type::HAS_ONE;
}
bool relation_endpoint::is_has_many() const {
return type_ == relation_type::HAS_MANY;
}
bool relation_endpoint::is_belongs_to() const {
return type_ == relation_type::BELONGS_TO;
}
}