一种update 的覆盖操作怎么写?
#1260
-
`public class Topic {
需要用 Snapshot的 State 字段替换 Topic表的State字段 var sql = repo.Select |
Beta Was this translation helpful? Give feedback.
Answered by
2881099
Sep 21, 2022
Replies: 2 comments
-
ToUpdate 功能有限,只能联表查询,不支持联表赋值更新 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zhza
-
联表更新,属于危险操作,FreeSql 为了使用者安全不提供太简单联表的更新操作 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ToUpdate 功能有限,只能联表查询,不支持联表赋值更新