[logseq-plugin-git:commit] 2025-12-11T14:50:38.767Z

This commit is contained in:
2025-12-11 06:50:39 -08:00
parent c410d39336
commit 4c8bba878d
551 changed files with 0 additions and 14608 deletions

View File

@@ -1,57 +0,0 @@
- Wallabag
- https://github.com/thiswillbeyourgithub/wallabag_to_logseq_and_omnivore
- https://codeberg.org/strubbl/wallabag-logseq
-
- Queries
- https://docs.datomic.com/cloud/query/query-data-reference.html
-
- Cool query with good comments - "query todo without subtodos?"
- https://discuss.logseq.com/t/how-to-query-todo-without-subtodos/24938/3
- ```clojure
#+BEGIN_QUERY
{
:query [:find (pull ?block [* ])
:in $ ?current-page
:where
[?page :block/name ?current-page] ; in current page
[?block :block/page ?page] ; any blocks
[?block :block/marker ?marker] ; that have marker
[(contains? #{"TODO"} ?marker)] ; TODO
(not ; but don't have
[?child :block/parent ?block] ; any child
[?child :block/marker ?childmarker] ; with own marker
[(contains? #{"TODO"} ?childmarker)] ; TODO
)
]
:inputs [:current-page]
}
#+END_QUERY
```
-
- Why does B work and not A
- #+BEGIN_QUERY
{:title "next week deadline or schedule - excluding work"
:query [:find (pull ?block [* ])
:in $ ?start ?next
:where
[?block :block/scheduled ?d]
[?block :block/deadline ?d])
(not [(contains? #{"TODO"} ?marker)])
[(> ?d ?start)]
[(< ?d ?next)]
)]
:inputs [:today :7d-after]
:collapsed? false}
#+END_QUERY
- #+BEGIN_QUERY
{:title "next week deadline or schedule"
:query [:find (pull ?block [*])
:in $ ?start ?next
:where
(or
[?block :block/scheduled ?d]
[?block :block/deadline ?d])
[(> ?d ?start)]
[(< ?d ?next)]]
:inputs [:today :7d-after]
:collapsed? false}