Comments (1)
修改笔记配置会影响当前的文件结构,而且后续如果不使用挂件的话,又需要重新修改。 所以建议直接在挂件中绑定路径。
如果按照说明图片里配置 目录结构是这样的,当初这么设计也是为了能将配置最小化,底层 检索 日记文档的 sql 写起来 也不用猜用户是哪种目录结构(直接规定都是这个结构的,否则 各种奇葩的结构,没法做判断)
我是这样做日期与每日笔记的对应关系的,通过以下 sql 将日期对应的文档 数据查出,然后拼接成 思源的超链接 siyuan://blocks/${newData[0].root_id}
之后再进行跳转
SELECT
*
FROM
blocks
WHERE
hpath = '/Work Bench/2022/05/20'
and type = 'd'
and box = '${$notebook_id.value}'
order by
created
总不能将sql暴露出去让用户去写吧。。
from siyuan-calendar.
Related Issues (10)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from siyuan-calendar.