updated dependencies and go
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ func convertValueToDB(q Queryable, value any) (any, error) {
|
||||
}
|
||||
}
|
||||
|
||||
if value != nil && reflect.TypeOf(value).Kind() == reflect.Ptr {
|
||||
if value != nil && reflect.TypeOf(value).Kind() == reflect.Pointer {
|
||||
vof := reflect.ValueOf(value)
|
||||
if vof.IsNil() {
|
||||
return nil, nil
|
||||
|
||||
Reference in New Issue
Block a user