diff --git a/goextVersion.go b/goextVersion.go index a409327..8dda8fc 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.374" +const GoextVersion = "0.0.375" -const GoextVersionTimestamp = "2024-01-14T01:37:38+0100" +const GoextVersionTimestamp = "2024-01-14T01:50:48+0100" diff --git a/sq/builder.go b/sq/builder.go index c510225..99c1494 100644 --- a/sq/builder.go +++ b/sq/builder.go @@ -116,5 +116,5 @@ func BuildInsertStatement(q Queryable, tableName string, obj any) (string, PP, e } //goland:noinspection SqlNoDataSourceInspection - return fmt.Sprintf("INSERT INTO %s (%s) VALUES (%s)", tableName, strings.Join(fields, ", "), values), params, nil + return fmt.Sprintf("INSERT INTO %s (%s) VALUES (%s)", tableName, strings.Join(fields, ", "), strings.Join(values, ", ")), params, nil }