Class: ForestAdminDatasourceGraphqlHasura::Introspection::Table

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#columnsObject

Returns the value of attribute columns

Returns:

  • (Object)

    the current value of columns



8
9
10
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 8

def columns
  @columns
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



8
9
10
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 8

def name
  @name
end

#polymorphicsObject

Returns the value of attribute polymorphics

Returns:

  • (Object)

    the current value of polymorphics



8
9
10
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 8

def polymorphics
  @polymorphics
end

#primary_keyObject

Returns the value of attribute primary_key

Returns:

  • (Object)

    the current value of primary_key



8
9
10
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 8

def primary_key
  @primary_key
end

#relationshipsObject

Returns the value of attribute relationships

Returns:

  • (Object)

    the current value of relationships



8
9
10
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 8

def relationships
  @relationships
end

#root_fieldsObject

Returns the value of attribute root_fields

Returns:

  • (Object)

    the current value of root_fields



8
9
10
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 8

def root_fields
  @root_fields
end

#type_nameObject

Returns the value of attribute type_name

Returns:

  • (Object)

    the current value of type_name



8
9
10
# File 'lib/forest_admin_datasource_graphql_hasura/introspection/structures.rb', line 8

def type_name
  @type_name
end