This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-03-17
Channels
- # announcements (6)
- # babashka-sci-dev (6)
- # beginners (99)
- # biff (3)
- # cider (4)
- # clerk (44)
- # clj-kondo (2)
- # clojure (65)
- # clojure-europe (57)
- # clojure-germany (5)
- # clojure-nl (1)
- # clojure-norway (13)
- # clojure-spec (19)
- # clojure-uk (3)
- # clojurescript (8)
- # conjure (3)
- # cursive (21)
- # datahike (19)
- # datomic (1)
- # events (7)
- # fulcro (14)
- # graalvm (3)
- # gratitude (1)
- # guix (5)
- # honeysql (1)
- # humbleui (19)
- # hyperfiddle (39)
- # lsp (4)
- # malli (7)
- # music (1)
- # off-topic (33)
- # pathom (65)
- # re-frame (9)
- # reagent (3)
- # reitit (6)
- # releases (1)
- # sql (15)
- # tools-build (7)
- # vim (5)
- # xtdb (16)
Hi :spock-hand:
I faced strange bug in pro version 0.9.6045
(d/q '[:find (count ?i) .
:in $ ?deal-status
:where
[?d :deal/invoices ?i]
[?d :deal/status ?d-status]
[(= ?d-status ?deal-status)]]
db
:deal-status)
;; => 39
(d/q '[:find (count ?i) .
:in $ ?deal-status
:where
[?d :deal/status ?d-status] ;; <- changed order
[?d :deal/invoices ?i]
[(= ?d-status ?deal-status)]]
db
:deal-status)
;; => 65
Filtering without =
- with the same binding for deal status in inputs and where clause works fine 😅 Pretty mind blowing for me 😅😕 2