From 7d64f18f54a24cfd3366099ba05e7260a1450652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sat, 13 Jan 2024 01:29:40 +0100 Subject: [PATCH] v0.0.368 --- goextVersion.go | 4 ++-- sq/builder.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/goextVersion.go b/goextVersion.go index 8419e95..b967936 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.367" +const GoextVersion = "0.0.368" -const GoextVersionTimestamp = "2024-01-12T18:40:29+0100" +const GoextVersionTimestamp = "2024-01-13T01:29:40+0100" diff --git a/sq/builder.go b/sq/builder.go index 0554fdb..3b1db75 100644 --- a/sq/builder.go +++ b/sq/builder.go @@ -53,7 +53,7 @@ func BuildUpdateStatement(q Queryable, tableName string, obj any, idColumn strin return "", nil, err } - setClauses = append(setClauses, fmt.Sprintf("(%s = :%s)", columnName, params.Add(val))) + setClauses = append(setClauses, fmt.Sprintf("%s = :%s", columnName, params.Add(val))) } }