mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 15:45:00 +00:00
fix: whitespace on advanced query string import
Fixes https://github.com/logseq/db-test/issues/193
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
- For example, here's a query with title text:
|
||||
{{query (property type book)}}
|
||||
{{query (property type book)}}
|
||||
- test multilines in this page
|
||||
- |markdown| table|
|
||||
|some|thing|
|
||||
@@ -21,3 +21,24 @@
|
||||
:query (task todo doing)}
|
||||
#+END_QUERY
|
||||
Text after
|
||||
- collapsed:: true
|
||||
#+BEGIN_QUERY
|
||||
{:title "⌛ Pretty print advanced query test"
|
||||
:query [:find (pull ?b [*])
|
||||
:in $ ?today
|
||||
:where
|
||||
[?b :block/page ?p]
|
||||
[?p :page/journal? true]
|
||||
[?p :page/journal-day ?jd]
|
||||
[(str ?jd) ?jds]
|
||||
[(subs ?jds 4 8) ?md1]
|
||||
[(str ?today) ?td]
|
||||
[(subs ?td 4 8) ?md2]
|
||||
[(= ?md1 ?md2)]
|
||||
[(< ?jd ?today)]
|
||||
]
|
||||
:inputs [:today]
|
||||
:breadcrumb-show? true
|
||||
:collapsed? False
|
||||
}
|
||||
#+END_QUERY
|
||||
Reference in New Issue
Block a user