33 lines
900 B
Markdown
33 lines
900 B
Markdown
- *#+BEGIN_QUERY
|
|
query-table:: true
|
|
{:title [:h2 "Geburtstage"]
|
|
|
|
:query [:find (pull ?b [*])
|
|
:where
|
|
[page-property ?b :type "Person"]
|
|
|
|
]}
|
|
#+END_QUERY*
|
|
- query-table:: true
|
|
query-properties:: [:page :person/geburtstag ]
|
|
#+BEGIN_QUERY
|
|
{
|
|
:title "Geburtstage V2"
|
|
:query [:find (pull ?p [*])
|
|
:in $ ?start ?next
|
|
:where
|
|
[page-property ?p :type "Person"]
|
|
[(mod ?d 10000) ?birthday-without-year]
|
|
]
|
|
:inputs [:today :30d-after]
|
|
}
|
|
#+END_QUERY
|
|
- [A anniversaries reminder - Questions & Help - Logseq](https://discuss.logseq.com/t/a-anniversaries-reminder/2313/2)
|
|
-
|
|
- {{query (page-property type Person)}}
|
|
query-properties:: [:page :person/geburtstag]
|
|
query-sort-by:: geburtstag
|
|
query-sort-desc:: true
|
|
- {{query (property type "Person")}}
|
|
query-table:: true
|
|
query-properties:: [:person/geburtstag :block] |