Class: ForestAdminDatasourceGraphqlHasura::Introspection::Relationship
- Inherits:
-
Struct
- Object
- Struct
- ForestAdminDatasourceGraphqlHasura::Introspection::Relationship
- Defined in:
- lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb
Overview
kind is :object or :array. mapping is { local_column => remote_column },
where a nil side stands for the primary key of that table, and the whole
hash is nil when the Hasura metadata was unreachable. manual tells a
manual_configuration relationship from a foreign-key-constraint one.
Instance Attribute Summary collapse
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#manual ⇒ Object
Returns the value of attribute manual.
-
#mapping ⇒ Object
Returns the value of attribute mapping.
-
#name ⇒ Object
Returns the value of attribute name.
-
#remote_table ⇒ Object
Returns the value of attribute remote_table.
Instance Attribute Details
#kind ⇒ Object
Returns the value of attribute kind
18 19 20 |
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 18 def kind @kind end |
#manual ⇒ Object
Returns the value of attribute manual
18 19 20 |
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 18 def manual @manual end |
#mapping ⇒ Object
Returns the value of attribute mapping
18 19 20 |
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 18 def mapping @mapping end |
#name ⇒ Object
Returns the value of attribute name
18 19 20 |
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 18 def name @name end |
#remote_table ⇒ Object
Returns the value of attribute remote_table
18 19 20 |
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 18 def remote_table @remote_table end |