Open MaximusMcCann opened 1 year ago
@MaximusMcCann Thank you for your report!
Of course! :)
This would be awesome!
Would love to see this feature!
This would be really helpful!!
This would be very helpful!
Thanks for the issue! I would like to have this as well
+1
You can now define Foreign and Primary keys on table columns in BigQuery. Would love to see them interpreted and added to the lovely image output to see connections between tables.
Google docs regarding adding FK and PK constraints. https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#alter_table_add_constraint_statement
Queries to pull the information off the schema about FK & PK.
https://cloud.google.com/bigquery/docs/information-schema-constraint-column-usage
https://cloud.google.com/bigquery/docs/information-schema-key-column-usage
https://cloud.google.com/bigquery/docs/information-schema-table-constraints
General spot for BQ schema information: https://cloud.google.com/bigquery/docs/information-schema-intro