Dataview参考示例

未完成文件table

dataview
table info,file.path as path,dateformat(file.cday,"yyyy-MM-dd") as cday,dateformat(file.mday,"yyyy-MM-dd") as mday
WHERE any(file.tasks, (a) => !a.fullyCompleted)

未完成文件任务

dataview
task 
where !completed
SORT completion
GROUP BY file.link

日历

dataview
CALENDAR file.cday