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))) } }