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
Upgrading peewee from 2.2.5 to 2.3.0 broke something since now I get syntax error exception for this postgres query:
UPDATE "user" SET "last_active_at" = %s WHERE (user."id" = %s)
The problem is that "user" table name is a reserved keyword so it must be put in quotes.
The text was updated successfully, but these errors were encountered:
What SQL was generated previously? Was an alias used? Sorry I don't recall.
Sorry, something went wrong.
I don't know, probably just quotes around the table name, just like right after UPDATE word.
This should be fixed by bb48ca3
No branches or pull requests
Upgrading peewee from 2.2.5 to 2.3.0 broke something since now I get syntax error exception for this postgres query:
The problem is that "user" table name is a reserved keyword so it must be put in quotes.
The text was updated successfully, but these errors were encountered: