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

Auto-incrementing version feature does not escape field names #2401

Closed
parisholley opened this issue Nov 10, 2021 · 1 comment · Fixed by #2402
Closed

Auto-incrementing version feature does not escape field names #2401

parisholley opened this issue Nov 10, 2021 · 1 comment · Fixed by #2402

Comments

@parisholley
Copy link
Contributor

InvalidFieldNameException: update "table" set "foo" = 'bar', "versionId" = versionId + 1 where "id" = '2' - column "versionid" does not exist

unfortunately, postgres is case sensitive :(

@B4nan
Copy link
Member

B4nan commented Nov 10, 2021

You mean it should be quoted, not escaped, right?

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

Successfully merging a pull request may close this issue.

2 participants