mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
chore: update test query example
This commit is contained in:
@@ -372,10 +372,13 @@ last-modified-at:: 1609084800002"}]]
|
||||
;; FIXME: not working
|
||||
;; (are [x y] (= (q-count x) y)
|
||||
;; "(or (priority a) (not (priority a)))"
|
||||
;; {:query '(or
|
||||
;; (and [?b :block/priority ?priority] [(contains? #{"A"} ?priority)])
|
||||
;; (and (not [?b :block/priority ?priority]
|
||||
;; [(contains? #{"A"} ?priority)])))
|
||||
;; {:query '[(or-join [?b]
|
||||
;; (and
|
||||
;; [?b :block/priority ?priority]
|
||||
;; [(contains? #{"A"} ?priority)])
|
||||
;; (not-join [?b]
|
||||
;; [?b :block/priority ?priority]
|
||||
;; [(contains? #{"A"} ?priority)]))]
|
||||
;; :count 5})
|
||||
|
||||
(are [x y] (= (q-count x) y)
|
||||
|
||||
Reference in New Issue
Block a user