- commandname
- argument
- argument
Optionally arguments can begin with any of the words and,or,and,
Queries filter in two ways - pages or blocks
pages command retrieves the special blocks that have ONLY the page information
such as name, page tags, page properties
- these page blocks are placed into the ?block variable
blocks command retrieves every single block in the graph including the special page blocks
- these page blocks are placed into the ?block variable and the page this block belongs to is placed in the ?page variable
You must choose a pages command OR a blocks command (you cannot use noth together)
Note. Wildcards can be full name or partial name using *
test* - starts with text 'test'
*end - ends with text 'end'
*tax* - contains text 'tax'
| blocks | select logseq blocks by wildcards |
| blockproperties | select blocks by property values |
| blocktags | select blocks by tag |
| deadline | select pages or blocks that have a deadline |
| deadlinebetween | select pages or blocks that have a deadline in a date range |
| journalsbetween | only select journal pages in a date range |
| journalonly | only select journal pages |
| namespace | select pages or blocks within a namespace |
| pages | select pages by wildcards |
| pageproperties | select pages by page properties |
| pagetags | select pages by tag |
| pagelinks | select blocks that have links to pages - note. Journal page link is your chosen format in your settings. For example Dec 25th, 2022 |
| tasks | select tasks |
| scheduled | select pages or blocks that are scheduled |
| scheduledbetween | select pages or blocks that are scheduled in a date range |