-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Broken update query with version v1.5.3 #42
Comments
Hi @bozhidarc, |
Hi @staudenmeir,
|
Is there an error or is it (just) producing a different result? |
The error it throws is |
The underlying issue is actually a breaking change in Laravel 6 (caused by me, coincidentally):
I released a new version that adds support for
|
Thank you @staudenmeir! |
After migrating from version v1.0.7 to v1.5.3, a query builder cte expression is now broken.
I'm using Laravel v8.83.26.
This is the code:
The think that made me wonder is what is this
ctid
column so after some digging I found incompileUpdateWithJoinsOrLimit()
invendor/laravel/framework/src/Illuminate/Database/Query/Grammars/PostgresGrammar.php
And the generated query is:
The text was updated successfully, but these errors were encountered: