Open zoren opened 2 years ago
With this query:
(q '[:find (count ?e) . :with ?i :where [?e :r ?e ?i]] [[1 :r 1 10] [2 :r 1 11]])
I get 1 with Datomic but 2 in datascript. It appears the test for two occurrences of a query variable is tested too late.
1
2
Looks like it. Related: #336
I think this self-unification issue is related too: https://github.com/tonsky/datascript/issues/240
With this query:
I get
1
with Datomic but2
in datascript. It appears the test for two occurrences of a query variable is tested too late.