Dataview来源

来源

Tags 标签

```dataview 
LIST FROM #DataView 
```

Folders 文件夹

```dataview 
TABLE file.link as "文件名称", aliases as "别名", dateformat(file.cday,"yyyy-MM-dd") as "创建日期", choice(file.starred, "是", "否") as "加星" 
FROM "Study"  
```

Specific Files 指定文件

```dataview 
TABLE file.link as "文件名", file.tasks.text as "任务名", choice(file.tasks.completed, "是", "否") as "已完成" 
FROM "Study/Markdown for macOS" 
```
```dataview 
LIST 
FROM [[内部文件链接]] 
``` 
 
//查询 [[内部文件链接]] 被哪些文件链接,即入链 
```dataview 
LIST FROM outgoing([[Markdown for macOS]]) 
```

Combing Sources 多重来源

#即1、2、4 来源联合起来使用
```dataview 
TABLE aliases as "别名" 
FROM "200-学习箱/210-知识库搭建" and outgoing([[Markdown for macOS]]) 
SORT file.cday DESC 
```

链接