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
Postgres update join not working #961
Comments
It seems to work as expected if you change the query to be passed to the Join method from the Join("INNER JOIN games ON player_game_relations.game = game.id")
↓
Join("From games ON player_game_relations.game = game.id") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I see in #908 that there is a feature for update query with join.
I updated to
github.com/uptrace/bun v1.1.17
and I get no golang errors but do get errors from postgres:My code:
In postgres it says to update join using
FROM
clause but bun doesn't support that on update query. From postgres logs the full statement is:The text was updated successfully, but these errors were encountered: