A small collection of simple usages of the dataview query language.
Show all games in the games folder, sorted by rating, with some metadata:
TABLE time-played AS "Time Played", length AS "Length", rating AS "Rating" FROM "games" SORT rating DESC
List games which are MOBAs or CRPGs.
List all tasks in un-completed projects:
TASK FROM "dataview"
List all of the files in the
books folder, sorted by the last time you modified the file:
TABLE file.mtime AS "Last Modified" FROM "books" SORT file.mtime DESC
List all files which have a date in their title (of the form
yyyy-mm-dd), and list them by date order.