mirror of
https://github.com/logseq/logseq.git
synced 2026-04-30 00:46:23 +00:00
refactor: remove block/path-refs (#12081)
1. refactor: use :block/refs and has-ref rule instead of path-refs 2. remove block/path-refs 3. removes :block-parent rule since there's already :parent 4. enhance: skip pipeline calculation for rtc initial download tx 5. refactor(rtc): remove memoize --------- Co-authored-by: rcmerci <rcmerci@gmail.com>
This commit is contained in:
@@ -651,11 +651,13 @@ prop-d:: [[nada]]"}])
|
||||
- [[Child page]]
|
||||
- p2 [[Parent page]]
|
||||
- Non linked content"}]))
|
||||
(is (= ["Non linked content"
|
||||
"p2"
|
||||
"p1"]
|
||||
(map testable-content
|
||||
(dsl-query "(and [[Parent page]] (not [[Child page]]))")))))
|
||||
(is (= (set
|
||||
["Non linked content"
|
||||
"p2"
|
||||
"p1"])
|
||||
(set
|
||||
(map testable-content
|
||||
(dsl-query "(and [[Parent page]] (not [[Child page]]))"))))))
|
||||
|
||||
(deftest between-queries
|
||||
(load-test-files [{:file/path "journals/2020_12_26.md"
|
||||
|
||||
Reference in New Issue
Block a user