43 lines
926 B
Markdown
43 lines
926 B
Markdown
query-table:: false
|
|
background-color:: blue
|
|
#+BEGIN_QUERY
|
|
{:title [:b \"Tasks Scheduled for Today\"]
|
|
:query [:find (pull ?b [*])
|
|
:in $ ?day
|
|
:where
|
|
[?b :block/marker ?m]
|
|
[(contains? #{\"TODO\" \"DOING\"} ?m)]
|
|
(or
|
|
[?b :block/scheduled ?day]
|
|
[?b :block/deadline ?day]
|
|
)
|
|
]
|
|
:inputs [:today]
|
|
}
|
|
#+END_QUERY
|
|
|
|
-
|
|
- query-table:: true
|
|
#+BEGIN_QUERY
|
|
{
|
|
:title [:b "Tasks UnScheduled"]
|
|
:query
|
|
[:find (pull ?b [*])
|
|
:where
|
|
[?b :block/marker ?marker]
|
|
(not [?b :block/scheduled ?sch])
|
|
[(contains? #{"LATER" "TODO"} ?marker)]]
|
|
}
|
|
#+END_QUERY
|
|
#.v-self-border
|
|
- query-table:: true
|
|
#+BEGIN_QUERY
|
|
{:title [:b "Tasks for Equinix"]
|
|
:query [:find (pull ?b [*])
|
|
:where
|
|
(task ?b #{"NOW" "LATER" "DOING" "TODO"})
|
|
[?b :block/page ?p]
|
|
[?r :block/name "equinix"]
|
|
(or [?b :block/path-refs ?r]
|
|
[?p :block/tags ?r])]}
|
|
#+END_QUERY |