Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get table relationships for all tables in a database ? #107

Open
shrutikaponde opened this issue Aug 23, 2019 · 0 comments
Open

How to get table relationships for all tables in a database ? #107

shrutikaponde opened this issue Aug 23, 2019 · 0 comments

Comments

@shrutikaponde
Copy link

I want to extract relationships between tables ( one to many / many to many / etc ).
Currently using tap-mysql with --discover option I am able to get list of all tables. It contains information about schema name, table name, table schema ( columns and column types) and metadata.
Metadata only contains table-key-properties :
"metadata": { "selected-by-default": false, "database-name": "employee", "row-count": 0, "is-view": false, "table-key-properties": [ "id" ] }
Is there a way extract foreign and primary key information ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant