mirror of https://github.com/go-gorm/gorm.git
Make Update works with unaddressable value
This commit is contained in:
parent
2530dcbccd
commit
c49e68fac2
2
field.go
2
field.go
|
@ -54,5 +54,5 @@ func (field *Field) Set(value interface{}) (err error) {
|
|||
}
|
||||
|
||||
field.IsBlank = isBlank(field.Field)
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue