Skip to content

Commit

Permalink
Transaction bind parameters fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabien Herfray committed Jan 19, 2016
1 parent 9c61069 commit ae2fefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func toES6Template(query string) string {

for _, b := range query {
if lookingForEnd {
if b == ' ' || b == '\n' {
if b == ' ' || b == '\n' || b == ',' || b == ';' {
lookingForEnd = false
buf.WriteString("} ")
continue
Expand Down

0 comments on commit ae2fefd

Please sign in to comment.