We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow me to updates non zero value
map[string]interface{} is complicated to use when you have complex structures like :
type Component struct { gorm.Model FamilyID uint Name string ... // Relationships 1 []1 `gorm:"ForeignKey:ComponentID;constraint:OnUpdate:CASCADE"` 2 []2 `gorm:"ForeignKey:ComponentID;constraint:OnUpdate:CASCADE"` 3 []3 `gorm:"ForeignKey:ComponentID;constraint:OnUpdate:CASCADE"` 4 []4 `gorm:"ForeignKey:ComponentID;constraint:OnUpdate:CASCADE"` 5 []5 `gorm:"ForeignKey:ComponentID;constraint:OnUpdate:CASCADE"` ... // Relationships others 10 []10 `gorm:"ForeignKey:ComponentID;constraint:OnUpdate:CASCADE"` 11 []11 `gorm:"ForeignKey:ComponentID;constraint:OnUpdate:CASCADE"` }
#3901
maybe add :
maybe fix :
The text was updated successfully, but these errors were encountered:
jinzhu
No branches or pull requests
Describe the feature
Allow me to updates non zero value
Motivation
map[string]interface{} is complicated to use when you have complex structures like :
Related Issues
#3901
Description
maybe add :
maybe fix :
The text was updated successfully, but these errors were encountered: