Skip to content
New issue

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

GORM避坑指南之含关联关系的更新 | Mohuishou #215

Open
mohuishou opened this issue Jul 12, 2019 · 0 comments
Open

GORM避坑指南之含关联关系的更新 | Mohuishou #215

mohuishou opened this issue Jul 12, 2019 · 0 comments

Comments

@mohuishou
Copy link
Owner

https://lailin.xyz/post/60163

在 GORM 的文档当中有说明,使用Update, Updates时只会更新改变的字段,但是出现关联关系的时候情况似乎有了一些微妙的变化 If you only want to update changed Fields, you could use Update, Updates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant