We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I found an issue while performing delete mutations from multiple primary keys :
deleteByCarIdAndBrandId: [ { carId: 514, brandId: 43 } ]
Pg compiler outputs an error : Unpexcted character ')'
Unpexcted character ')'
After some reseach, I looked at the computed query and it looks like this :
delete from "public"."Cars"\n' + where \n' + "car_id" = $1\n' + ) and (\n' + "brand_id" = $2\n' +
Fixed it by wrapping the where clause inside parenthesis.
Let me know if I should make a PR for this !
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I found an issue while performing delete mutations from multiple primary keys :
Pg compiler outputs an error :
Unpexcted character ')'
After some reseach, I looked at the computed query and it looks like this :
Fixed it by wrapping the where clause inside parenthesis.
Let me know if I should make a PR for this !
The text was updated successfully, but these errors were encountered: