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

Attribute View adds addAttributeViewRow API #9898

Closed
RainBoat opened this issue Dec 16, 2023 · 3 comments
Closed

Attribute View adds addAttributeViewRow API #9898

RainBoat opened this issue Dec 16, 2023 · 3 comments

Comments

@RainBoat
Copy link

RainBoat commented Dec 16, 2023

In what scenarios do you need this feature?

在开发文档模板的时候,希望能够直接在套用模板时将该文档与指定数据库实现双向挂载,现在通过查询custom-avs和getAttrtibuteViewKey仅能够实现查询当前文档是否挂载至某个数据库及对应字段值,但没有办法同步实现在数据库中挂载某个block

Describe the optimal solution

增加将块插入行的API

Describe the candidate solution

No response

Other information

No response

@88250
Copy link
Member

88250 commented Dec 16, 2023

需要将块作为行插入到数据库中吗?但是 issue 标题(addAttributeViewColumn)说的是列?

@RainBoat
Copy link
Author

sorry表述有误,是行

@RainBoat RainBoat changed the title Attribute View adds addAttributeViewColumn API Attribute View adds addAttributeViewRow API Dec 17, 2023
@88250
Copy link
Member

88250 commented Dec 17, 2023

目前还无法提供数据库相关的 API,因为目前数据库特性还在开发中,API 无法保证稳定。如果你需要开发插件相关需求的话可以试试 transaction 相关的内部 API,不过建议暂时还是不要搞,维护起来比较麻烦。

我先关闭了,等后期数据库上线后一段时间较为稳定了我们再考虑提供 API,谢谢。

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