diff --git a/utils_private.go b/utils_private.go index cf941f61..0b46cfdb 100644 --- a/utils_private.go +++ b/utils_private.go @@ -65,7 +65,7 @@ func convertInterfaceToMap(values interface{}) map[string]interface{} { default: scope := Scope{Value: values} for _, field := range scope.Fields() { - if !field.IsBlank { + if !field.IsBlank && !field.IsIgnored { attrs[field.DBName] = field.Field.Interface() } }