-
Notifications
You must be signed in to change notification settings - Fork 116
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
Render unique names for database tables #143
Labels
Comments
I can pick this one |
@jczuchnowski while working on this ticket, I should support only postgresql ? and mysql/oracle later ? |
maciejbak85
added a commit
to maciejbak85/zio-sql
that referenced
this issue
Jan 4, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider a following self-referencing schema:
it's possible to create a query like this:
that will render as:
This is incorrect. Instead the
PostgresModule#renderRead
should generate aliases for the tables so that the query would look something like this:The text was updated successfully, but these errors were encountered: