mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 09:26:28 +00:00
fix: use ast blocks for simple queries conversions
Fixes cases where {{query nested in BEGIN_* blocks were incorrectly
being converted to queries. Also made ast block handling faster
by only doing one prewalk and cleaned up handling of queries
This commit is contained in:
committed by
Tienson Qin
parent
cc05518ea5
commit
58d3abbafb
@@ -51,4 +51,9 @@
|
||||
[?p :block/name "project"]
|
||||
[?b :block/refs ?p]]}
|
||||
#+END_QUERY
|
||||
#+END_SRC
|
||||
#+END_SRC
|
||||
- Find the blocks containing `tag2` but not `tag1`
|
||||
|
||||
#+BEGIN_EXAMPLE
|
||||
{{query (and [[tag2]] (not [[tag1]]))}}
|
||||
#+END_EXAMPLE
|
||||
Reference in New Issue
Block a user