v0.0.376
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m22s

This commit is contained in:
Mike Schwörer 2024-01-14 01:52:52 +01:00
parent a4a8c83d17
commit b69a082bb1
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
package goext package goext
const GoextVersion = "0.0.375" const GoextVersion = "0.0.376"
const GoextVersionTimestamp = "2024-01-14T01:50:48+0100" const GoextVersionTimestamp = "2024-01-14T01:52:52+0100"

View File

@ -96,7 +96,7 @@ func BuildInsertStatement(q Queryable, tableName string, obj any) (string, PP, e
if rsfield.Type.Kind() == reflect.Ptr && rvfield.IsNil() { if rsfield.Type.Kind() == reflect.Ptr && rvfield.IsNil() {
fields = append(fields, columnName) fields = append(fields, columnName)
values = append(fields, "NULL") values = append(values, "NULL")
} else { } else {
@ -106,7 +106,7 @@ func BuildInsertStatement(q Queryable, tableName string, obj any) (string, PP, e
} }
fields = append(fields, columnName) fields = append(fields, columnName)
values = append(fields, ":"+params.Add(val)) values = append(values, ":"+params.Add(val))
} }
} }