Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upupdate/set with Optional fields can lead to an SQL error #68
Comments
sgrif
self-assigned this
Dec 23, 2015
sgrif
added this to the 0.4 milestone
Dec 23, 2015
sgrif
closed this
in
397fcc0
Dec 23, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
scalexm commentedDec 23, 2015
How to reproduce the bug:
This yields the following error:
ERROR: syntax error at or near "field3"
LINE 1: UPDATE "foo" SET "field1" = $1"field3" = $2
It seems that there is a comma missing in the SQL output with patterns like (Something, None, ..., None, Something)