Class: ForestAdminDatasourceGraphqlHasura::Introspection::Table
- Inherits:
-
Struct
- Object
- Struct
- ForestAdminDatasourceGraphqlHasura::Introspection::Table
- Defined in:
- lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb
Overview
name is the root field records are queried through; type_name is the GraphQL OBJECT type, which relationships reference. They only differ when the Hasura metadata customizes the root fields. root_fields resolves the other operation roots: { aggregate:, insert:, update:, delete: }, custom names applied when the metadata declares them, derived otherwise.
Instance Attribute Summary collapse
-
#columns ⇒ Object
Returns the value of attribute columns.
-
#name ⇒ Object
Returns the value of attribute name.
-
#polymorphics ⇒ Object
Returns the value of attribute polymorphics.
-
#primary_key ⇒ Object
Returns the value of attribute primary_key.
-
#relationships ⇒ Object
Returns the value of attribute relationships.
-
#root_fields ⇒ Object
Returns the value of attribute root_fields.
-
#type_name ⇒ Object
Returns the value of attribute type_name.
Instance Attribute Details
#columns ⇒ Object
Returns the value of attribute columns
8 9 10 |
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 8 def columns @columns end |
#name ⇒ Object
Returns the value of attribute name
8 9 10 |
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 8 def name @name end |
#polymorphics ⇒ Object
Returns the value of attribute polymorphics
8 9 10 |
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 8 def polymorphics @polymorphics end |
#primary_key ⇒ Object
Returns the value of attribute primary_key
8 9 10 |
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 8 def primary_key @primary_key end |
#relationships ⇒ Object
Returns the value of attribute relationships
8 9 10 |
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 8 def relationships @relationships end |
#root_fields ⇒ Object
Returns the value of attribute root_fields
8 9 10 |
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 8 def root_fields @root_fields end |
#type_name ⇒ Object
Returns the value of attribute type_name
8 9 10 |
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 8 def type_name @type_name end |