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

This commit is contained in:
2024-01-14 01:52:52 +01:00
parent a4a8c83d17
commit b69a082bb1
2 changed files with 4 additions and 4 deletions

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