mirror of https://github.com/logseq/logseq
chore: update test query example
parent
e7879c5388
commit
f8e63fd486
|
@ -372,10 +372,13 @@ last-modified-at:: 1609084800002"}]]
|
||||||
;; FIXME: not working
|
;; FIXME: not working
|
||||||
;; (are [x y] (= (q-count x) y)
|
;; (are [x y] (= (q-count x) y)
|
||||||
;; "(or (priority a) (not (priority a)))"
|
;; "(or (priority a) (not (priority a)))"
|
||||||
;; {:query '(or
|
;; {:query '[(or-join [?b]
|
||||||
;; (and [?b :block/priority ?priority] [(contains? #{"A"} ?priority)])
|
;; (and
|
||||||
;; (and (not [?b :block/priority ?priority]
|
;; [?b :block/priority ?priority]
|
||||||
;; [(contains? #{"A"} ?priority)])))
|
;; [(contains? #{"A"} ?priority)])
|
||||||
|
;; (not-join [?b]
|
||||||
|
;; [?b :block/priority ?priority]
|
||||||
|
;; [(contains? #{"A"} ?priority)]))]
|
||||||
;; :count 5})
|
;; :count 5})
|
||||||
|
|
||||||
(are [x y] (= (q-count x) y)
|
(are [x y] (= (q-count x) y)
|
||||||
|
|
Loading…
Reference in New Issue