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

Not consistent table naming when using InnerJoin() #8

Open
WestleyK opened this issue Dec 11, 2023 · 0 comments
Open

Not consistent table naming when using InnerJoin() #8

WestleyK opened this issue Dec 11, 2023 · 0 comments

Comments

@WestleyK
Copy link

WestleyK commented Dec 11, 2023

When using InnerJoin(), pika will sometimes rename the table name in the query. This can cause an issue when you want to filter by a value in that table, you need to manually debug the query to see what pika changed the table name too.

https://github.com/ctrliq/pika/blob/main/pika_psql_test.go#L1475C50-L1475C50

Notice join_model_foreign vs joinModelForeign.

CC @ikaneshiro, @mstg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant