You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #211 on September 29, 2022 08:44.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
当表中有多个字段,但只需要更新其中部分字段时不方便。如果使用 skips 则需要列出其他所有字段,并且如果表新增了字段这里必须同步进行修改。
我现在只能建一个新的 model 用于更新,比如原表 model:
当只需要更新 name 时我需要提供一个 model:
如果有其他更新需求,还需要创建更多的 struct
Beta Was this translation helpful? Give feedback.
All reactions