Query Tasks with Context

  • For “tasks with [[Agency Engagement]]” it is more performant to do this:
    [?agency-engagement :block/original-name "Agency Engagement"]
    [?child :block/refs ?agency-engagement]
    
  • To exclude DONE, use this:
    [?child :block/marker ?marker]
    (not [(contains? #{"DONE"} ?marker)] )