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

join_as constructs invalid sql join #782

Open
MichaelCClary opened this issue Jun 7, 2024 · 0 comments
Open

join_as constructs invalid sql join #782

MichaelCClary opened this issue Jun 7, 2024 · 0 comments

Comments

@MichaelCClary
Copy link

Description

When using join_as, it assigns the alias to the join table, but doesn't use the alias on the join condition which results in an invalid join.

It shows an incorrect join in the example/test.

Steps to Reproduce

Expected Behavior

image

Actual Behavior

image

Reproduces How Often

Every time

Versions

sea_query -"0.30.7"

Additional 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