relation completer progress
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "matador/utils/enum_mapper.hpp"
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
|
||||
namespace matador::object {
|
||||
@@ -27,6 +28,7 @@ public:
|
||||
|
||||
[[nodiscard]] std::string field_name() const;
|
||||
[[nodiscard]] relation_type type() const;
|
||||
[[nodiscard]] std::string type_name() const;
|
||||
[[nodiscard]] const schema_node& node() const;
|
||||
|
||||
[[nodiscard]] bool is_has_one() const;
|
||||
@@ -37,6 +39,9 @@ public:
|
||||
void link_foreign_endpoint(const std::shared_ptr<relation_endpoint>& endpoint);
|
||||
|
||||
private:
|
||||
template<typename>
|
||||
friend class relation_completer;
|
||||
|
||||
std::string field_name_;
|
||||
relation_type type_;
|
||||
std::shared_ptr<schema_node> node_;
|
||||
|
||||
Reference in New Issue
Block a user