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

附表数据不受控的被删除 (同 子表数据的处理方式问题 #6704) #7626

Open
huangwei2013 opened this issue Dec 20, 2024 · 2 comments

Comments

@huangwei2013
Copy link

版本号:

全部

问题描述:

同 附/子表数据的处理方式问题 #6704

附表数据在主表更新的情况下,完全不受控的被删除,直接导致附表数据丢失。

这是明显的设计缺陷/bug,非常可怕。

错误截图:

友情提示:

  • 未按格式要求发帖、描述过于简单的,会被直接删掉;
  • 描述问题请图文并茂,方便我们理解并快速定位问题;
  • 如果使用的不是master,请说明你使用的分支;
@zhangdaiscott
Copy link
Member

我们针对一对多的修改逻辑,就是先删除,再插入

@huangwei2013
Copy link
Author

  1. 文档中没找到对应机制的说明;
  2. 提到一对多是如此处理,那么一对一呢,也没看到说明;

我们针对一对多的修改逻辑,就是先删除,再插入

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