5 must-have queries to manage your graph and life

Logseq’s built-in queries are simple but very powerful. Learn how to use links and properties to manage your Logseq graph and make your life easier.

Last updated on Invalid Date

Bas from Tools on Tech showcases five simple queries that will make managing your graph and retrieving your notes a lot easier. See the end of this page for the query code.

 

Timestamps

  • 00:09 Book Overview
  • 01:49 Shopping List
  • 02:38 Filter out subsections
  • 03:39 Overview of Templates
  • 04:06 Habit tracking

Screenshots from the video

Click an image to see it in full size.

Notion image
Notion image
Notion image
Notion image
Notion image
Notion image
Notion image
Notion image
Notion image
Notion image
Notion image
Notion image

Query code

Book overview

{{query (page-property :type "book")}}

Shopping lists

{{query (and (task TODO) [[AlbertHeijn]])}}

Filtering subsections

{{query (and [[broll]] [[PageName]])}}

or

{{query (and [[broll]] <%current  page %>)}}

Templates overview

{{query (property template)}}

Habit tracking

{{query (page-property :hours)}}
Was this resource useful for you?
😞
😐
🤩