Table of contents
Open Table of contents
preface
dataview顾名思义,就是可视化数据,将ob类比成数据库,dataview就是个索引query工具。
how to use dataview
dataview是通过key来索引的,key(metadata)对应文件的tag,category,filepath…
tags: [tracker,daily]
type: personal
Date:
alias: 18th July 2023 Tue
status: [done]
how to automate creating the metadata
建立一个包含metadata的template.
比如,想要query出所有game相关的文档,那就以后每个gamefile都用game相关的template(包含game的metadata) 那就会可视化的display所有的game file
TABLE file.link as "File", from as "Created"
FROM #game
SORT file.name asc
see more detail: ob doc
conclusion
dataview让你把ob作为database来crud,岂不美哉?