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

InsertOrUpdate 支持忽略 IgnoreColumns 吗? #394

Closed
1haoyu opened this issue Jul 30, 2020 · 2 comments
Closed

InsertOrUpdate 支持忽略 IgnoreColumns 吗? #394

1haoyu opened this issue Jul 30, 2020 · 2 comments

Comments

@1haoyu
Copy link

1haoyu commented Jul 30, 2020

InsertOrUpdate 支持忽略 IgnoreColumns 吗?

@2881099
Copy link
Collaborator

2881099 commented Jul 30, 2020

v1.8.0 - 补充 fsql.InsertOrUpdate UpdateColumns 数据存在时只更新指定的字段;

只能针对数据存在时的更新设置。方向不一样,但也能达到忽略的效果。

当下的版本如果实体特性有 CanUpdate = false 不会进行更新。

@2881099
Copy link
Collaborator

2881099 commented Jul 30, 2020

提示: fsql.InsertOrUpdate UpdateColumns 功能已经做好了,未发布

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

2 participants