Skip to content

Commit aeb0f2d

Browse files
committed
fix: revert #1322 fixing bug in v4.16.0
1 parent 508704a commit aeb0f2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/sqlboiler-psql/driver/override/main/singleton/psql_upsert.go.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ func buildUpsertQueryPostgres(dia drivers.Dialect, tableName string, updateOnCon
3333

3434
columns := "DEFAULT VALUES"
3535
if len(whitelist) != 0 {
36-
columns = fmt.Sprintf("(\"%s\") VALUES (%s)",
37-
strings.Join(whitelist, "\",\""),
36+
columns = fmt.Sprintf("(%s) VALUES (%s)",
37+
strings.Join(whitelist, ", "),
3838
strmangle.Placeholders(dia.UseIndexPlaceholders, len(whitelist), 1, 1))
3939
}
4040

0 commit comments

Comments
 (0)