mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 10:26:35 +00:00
@@ -174,7 +174,7 @@
|
||||
(is (= 1 (count (d/q '[:find ?b :where [?b :block/tags :logseq.class/Query]] @conn))))
|
||||
|
||||
;; Don't count pages like url.md that have properties but no content
|
||||
(is (= 7
|
||||
(is (= 8
|
||||
(count (->> (d/q '[:find [(pull ?b [:block/title :block/type]) ...]
|
||||
:where [?b :block/title] [_ :block/page ?b]] @conn)
|
||||
(filter #(= "page" (:block/type %))))))
|
||||
|
||||
Reference in New Issue
Block a user