datalevin

hrtmt brng 2025-03-06T20:06:16.058469Z

I don't understand why this delivers two results.

(d/transact conn
            [{:tt 0 :pa "X"}
             {:td 0 :pa "X"}])

(d/q '[:find ?t ?d
       :where
       [?t :tt]
       [?t :pa ?p]
       [?d :td]
       [?d :pa ?p]]
     (d/db conn)) => #{[1 1] [1 2]}
Is this correct?

Huahai 2025-03-17T19:57:40.598419Z

Fixed in master branch.

👍 2
Huahai 2025-03-06T20:16:31.936239Z

confirmed this as a bug

✅ 1
Huahai 2025-03-06T20:18:44.729109Z

https://github.com/juji-io/datalevin/issues/320