Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有如下成员架构
type Member { is_deleted }
当我仅更改 is_deleted 字段时,更改该字段的最佳做法是什么
请给我见解
就性能而言,两者没有显着差异。但对我来说,我会使用当前的 updateMember 函数,这样我就不会只为那个操作创建一个新函数。