-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add Foreign Key Support #54
Comments
Duplicate of #23? |
Why would foreign key definitions be a duplicate of join syntax ? Foreign keys are not required to provide join support. |
It seems great. 👍 |
Are you planning to add support for the foreign keys and join syntax to build relationships with this ORM? Would be awesome to fetch things more easily this way. |
Pulls welcome 😃 |
Adding on to #53 ...
For foreign keys there are a number of options a foreign key may have, but from a definition standpoint adding the foreign key to the column definition make the most sense as each column may only reference a single foreign column.
What I propose is the following:
I think this approach is fairly straight-forward and easy to follow.
Thoughts?
The text was updated successfully, but these errors were encountered: