I’d like to list all completed tasks. But I don’t know how to sort them by updated time.
I tried “get h :block/updated-at” but didn’t work.
Additional question would be how am I suppose to know all the attributes of a block?
Like block/page, block/marker etc
:query [:find (pull ?b [*])
[?b :block/marker ?marker]
[(= “DONE” ?marker)]]
:result-transform (fn [result]
(sort-by (fn [h]
(get h :block/created-at)) result))