v0.0.376
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m22s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m22s
This commit is contained in:
parent
a4a8c83d17
commit
b69a082bb1
@ -1,5 +1,5 @@
|
||||
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"
|
||||
|
@ -96,7 +96,7 @@ func BuildInsertStatement(q Queryable, tableName string, obj any) (string, PP, e
|
||||
if rsfield.Type.Kind() == reflect.Ptr && rvfield.IsNil() {
|
||||
|
||||
fields = append(fields, columnName)
|
||||
values = append(fields, "NULL")
|
||||
values = append(values, "NULL")
|
||||
|
||||
} else {
|
||||
|
||||
@ -106,7 +106,7 @@ func BuildInsertStatement(q Queryable, tableName string, obj any) (string, PP, e
|
||||
}
|
||||
|
||||
fields = append(fields, columnName)
|
||||
values = append(fields, ":"+params.Add(val))
|
||||
values = append(values, ":"+params.Add(val))
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user