Zuoqiu-Yingyi / widget-query

一个将思源笔记数据库查询结果以表格样式渲染的挂件 | A widget that renders the query results of the Siyuan Notes database in tabular style.
GNU Affero General Public License v3.0
53 stars 7 forks source link

建议加入误操作预防措施 #11

Closed clark874 closed 2 years ago

clark874 commented 2 years ago

刚才使用插件时多点击了几下,导致思源笔记崩溃,查找原因是因为大量引用了块,只能回滚修复。 建议加入误操作预防措施。 谢谢作者!

Zuoqiu-Yingyi commented 2 years ago

@clark874 建议使用 LIMIT 关键字自行限制查询记录长度

clark874 commented 2 years ago

我的意思是,能否加一个如果检测不到任何信息就不触发的功能?

---原始邮件--- 发件人: @.> 发送时间: 2022年2月22日(周二) 下午3:43 收件人: @.>; 抄送: @.**@.>; 主题: Re: [Zuoqiu-Yingyi/widget-query] 建议加入误操作预防措施 (Issue #11)

@clark874 建议使用 LIMIT 关键字自行限制查询记录长度

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.Message ID: @.***>

Zuoqiu-Yingyi commented 2 years ago

我的意思是,能否加一个如果检测不到任何信息就不触发的功能?

查询出错应该不会触发渲染, 查询为空时会渲染一个只有表格头的空表格