blacksmithgu.github.io/obsidian-dataview/queries/dql-js-inline/
1 Users
0 Comments
6 Highlights
0 Notes
Tags
Top Highlights
Inline DQL cannot query multiple pages. They always display exactly one value, not a list (or table) of values. You can either access the properties of the current page via prefix this. or a different page via [[linkToPage]]
`= this.file.name` `= this.file.mtime` `= this.someMetadataField` `= [[secondPage]].file.name` `= [[secondPage]].file.mtime` `= [[secondPage]].someMetadataField`
Inline DQL
A Inline DQL uses a inline block format instead of a code block and a configurable prefix to mark this inline code block as a DQL block.
`= this.file.name`
Inline DQL Queries display exactly one value somewhere in the middle of your note. They seamlessly blend into the content of your note: Today is `= date(today)` - `= [[exams]].deadline - date(today)` until exams! would, for example, render to Today is November 07, 2022 - 2 months, 5 days until exams!
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.