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

[8.x] Add default "_of_many" to join alias when relation name is table name #37411

Merged
merged 2 commits into from
May 19, 2021
Merged

[8.x] Add default "_of_many" to join alias when relation name is table name #37411

merged 2 commits into from
May 19, 2021

Conversation

cbl
Copy link
Contributor

@cbl cbl commented May 19, 2021

This pr appends "_of_many" to the one of many join alias when the relation name is the same as the table name.

This should prevent people from running into this: #37402

(Also added some tests regarding the one of many alias)

closes #37402
ping #37362

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

Successfully merging this pull request may close these issues.

one-of-many relationship query error.
2 participants