1.2 KiB
1.2 KiB
title, type, tags, sources, last_updated
| title | type | tags | sources | last_updated | |||||
|---|---|---|---|---|---|---|---|---|---|
| Dataview | concept |
|
|
2026-04-20 |
Aliases
- Obsidian Dataview 插件
- DataviewJS
Definition
Obsidian 的社区插件,对页面 YAML frontmatter 做数据库式查询,自动生成动态表格和列表。是 LLM Wiki 的可选增强工具。
LLM Wiki Usage
让 AI 在每个 Wiki 页面的 frontmatter 里写上结构化元数据(如 type、date、tags、source_count),然后用 Dataview 查询生成动态报表。
Example Query
```dataview
TABLE title, date, tags
FROM "wiki/sources"
SORT date DESC
```
Practical Value
- 页面少时价值有限,Wiki 规模大时(数百页面)报表价值显著
- 老张(laozhang2579)观点:"多到一定程度或者想用元数据查询方式习惯的可以考虑,我是直接用索引文件配合 Claude 的文件检索"
- 安装:设置 → 第三方插件 → 社区插件市场 → 搜索 "Dataview" → 安装并启用