-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
软删除之后的行还可以被设置值 #5082
Comments
The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 2 days if no further activity occurs. if you are asking question, please use the |
正常是不会的,可以提个可复现的demo在playground上。 |
The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 2 days if no further activity occurs. if you are asking question, please use the |
|
1.22.4版本 |
嗯....这个不完整....还是在 playground 放个复现的demo吧 |
你说的playground是哪里? |
我觉得你们按照我上面的api来调用下即可复现,很容易复现我觉得,。。。 |
问题已经被我解决。请看下面代码:
像上面这样会生成的sql语句是:UPDATE |
@AnkoGo123 这个问题 在 #4897 被修复 可以更新 |
GORM Playground Link
go-gorm/playground#1
Description
软删除之后的行还可以通过以下的方式设置值 db.Model(b).Update("PId", newPId);
这是gorm没做限制吗?
The text was updated successfully, but these errors were encountered: