-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Delete attributes of related blocks when deleting database blocks #9287
Comments
需要考虑复制视图的引用情况。在视图引用不清零前不要删除。 |
感觉还是早点为属性视图建表比较好,不过这个方案也行。假如不自动清理的话,那就要考虑被清除了引用的属性视图该怎么重新引用和如何手动清理了,上面提到的只是清理了属性视图内的行而已。 |
重新考虑了下整体设计,这个地方还是不做删除吧,原因和闪卡类似,考虑到多种数据恢复的场景,无法做到强一致性,所以就还是让 custom-avs 属性冗余吧。 #9285 也存在类似的问题,以这边这条讨论为基础继续考虑。 |
这个设计我觉得可以,不过还得看看最终的效果怎么样。 另外,是否需要考虑当表内的行清零后删除属性视图? |
不考虑啊,初始的时候就是空的。 |
好像也是……那有删除属性视图的设置吗? |
#9285 (comment) 用户手动删除行。 |
我是说数据库本身的哪个json,有删除的机制吗? |
没有的,后面考虑看看能不能出个清理机制。
…---Original---
From: ***@***.***>
Date: Fri, Oct 6, 2023 11:27 AM
To: ***@***.***>;
Cc: ***@***.***>;"State ***@***.***>;
Subject: Re: [siyuan-note/siyuan] Delete attributes of related blocks whendeleting database blocks (Issue #9287)
我是说数据库本身的哪个json,有删除的机制吗?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://ld246.com/article/1695780728736
The text was updated successfully, but these errors were encountered: