{ "type_list": [ { "Object": { "gql_object": "List", "sql_table": "List" } }, { "ObjectField": { "gql_object": "List", "gql_field": "id", "sql_table": "List", "sql_column": "id" } }, { "ObjectField": { "gql_object": "List", "gql_field": "title", "sql_table": "List", "sql_column": "title" } }, { "Object": { "gql_object": "Task", "sql_table": "Task" } }, { "ObjectField": { "gql_object": "Task", "gql_field": "id", "sql_table": "Task", "sql_column": "id" } }, { "ObjectField": { "gql_object": "Task", "gql_field": "title", "sql_table": "Task", "sql_column": "title" } }, { "ObjectField": { "gql_object": "Task", "gql_field": "description", "sql_table": "Task", "sql_column": "description" } }, { "ObjectField": { "gql_object": "Task", "gql_field": "completed", "sql_table": "Task", "sql_column": "completed" } }, { "Object": { "gql_object": "User", "sql_table": "User" } }, { "ObjectField": { "gql_object": "User", "gql_field": "username", "sql_table": "User", "sql_column": "username" } }, { "ObjectField": { "gql_object": "User", "gql_field": "name", "sql_table": "User", "sql_column": "name" } }, { "Join": { "gql_object": "List", "gql_field": "user", "gql_type": "User", "sql_join_type": { "OneToMany": { "sql_table_of_object": "List", "sql_table_of_field": "User", "sql_mapped_columns": [ [ "user_username", "username" ] ] } } } }, { "Join": { "gql_object": "User", "gql_field": "lists", "gql_type": "List", "sql_join_type": { "ManyToOne": { "sql_table_of_object": "User", "sql_table_of_field": "List", "sql_mapped_columns": [ [ "username", "user_username" ] ] } } } }, { "Join": { "gql_object": "Task", "gql_field": "user", "gql_type": "User", "sql_join_type": { "OneToMany": { "sql_table_of_object": "Task", "sql_table_of_field": "User", "sql_mapped_columns": [ [ "user_username", "username" ] ] } } } }, { "Join": { "gql_object": "User", "gql_field": "tasks", "gql_type": "Task", "sql_join_type": { "ManyToOne": { "sql_table_of_object": "User", "sql_table_of_field": "Task", "sql_mapped_columns": [ [ "username", "user_username" ] ] } } } }, { "Join": { "gql_object": "Task", "gql_field": "list", "gql_type": "List", "sql_join_type": { "OneToMany": { "sql_table_of_object": "Task", "sql_table_of_field": "List", "sql_mapped_columns": [ [ "list_id", "id" ] ] } } } }, { "Join": { "gql_object": "List", "gql_field": "tasks", "gql_type": "Task", "sql_join_type": { "ManyToOne": { "sql_table_of_object": "List", "sql_table_of_field": "Task", "sql_mapped_columns": [ [ "id", "list_id" ] ] } } } } ] }