Hi, pages for my book notes have a few properties, including type:: book and status, e.g. status:: done. I’m trying to write a query that only displays page names (which are titles) of all of them ordered alphabetically. So the result would be something like this, all being links to their pages:
Animal Farm
Brave New World
Catch-22
Possible?
My books in progress use this, but it quickly becomes too big for finished books.
#+BEGIN_QUERY
{:title ["Active books"]
:query [:find (pull ?b [*])
:where
(property ?b :type "book")
(property ?b :status "in progress")]
}
#+END_QUERY