Replies: 1 comment 3 replies
-
Hi @BumpaRoy, Thanks for the question.
This helps the tool understand you indeed want to expose customer under orders. The tool automatically infers foreign key information if they are already present between your tables. So, not the complete model needs to fit in the config file - but only what you actually desire to expose as a REST/GraphQL endpoint. |
Beta Was this translation helpful? Give feedback.
-
As I start to get my hands around some of this, I am trying to figure out the best practice for exposing tables and relationships in a database tied to an ERP System. Lots of tables.
I see the config file which exposes and defines the data access becoming pretty complicated. Traditionally, SQL had all of the tables and relationships defined already, and it looks like this will require me to duplicate what SQL already knows into a config file. Granted, the project I am looking at only needs 15 to 20 tables out of the DB, but also having to redefine those relationships.
My question is: Is this the design of this tool that the complete data access model needs to fit into the config file? Or is there a way to leverage some of what SQL already knows?
Beta Was this translation helpful? Give feedback.
All reactions