From a4a8c83d176f5b16dae6afd2f017c7e7bd6f1f26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sun, 14 Jan 2024 01:50:48 +0100 Subject: [PATCH] v0.0.375 --- goextVersion.go | 4 ++-- sq/builder.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 }