doxa
doxa copied to clipboard
```clojure (let [db (->> {:id 0 :name "buzz" :foo "bar"} (vector :dx/merge) (dx/commit (dx/create-dx)))] (dx/q '[:find [(pull ?e [:name])] :where [?e :foo "bar"]] db)) ``` throws "unrecognized input" exception
```clojure (dx/create-dx [{:event/id 1 :name "Olympics" :sports {:page/id 1 ;
Hello :-) Do you think it'd be worth adding an example to show how it can integrate with reagent?
this works as expected ```clojure (->> {:id "100" :name "Steve" :cars [{:id "123" :name "Audi"} { :id "124" ;
Hello, amazing project :) Does it work with graalvm? Maybe it's a good idea to mention in the docs about the support and what's necessary to setup it. Related: https://github.com/clj-easy/graal-docs
Maybe a no-op, but is there an option to query a field that's missing in the source data map? Maybe some ```clojure (let [db (dx/create-dx [{:db/id 1 :m/gist "ggg"} ;
``` (dx/q '[:find ?e ?foo :where [?e :foo ?foo]] {[:id 1] {:foo nil}}) ``` returns `#{}`. I expect it to return `#{[[:id 1] nil]}`
0.0.15 predates https://github.com/ribelo/extropy/commit/772f244c8553d133a347109088b5819c300f7d72 so queries with >=4 joins are broken with `class ribelo.doxa.query$eval47719$fn__47721$fn__47726 cannot be cast to class java.lang.Number`
From the example: ``` (dx/commit {} [[:dx/put {:db/id 1 :name "Ivan" :friend {:db/id 2 :name "Petr"}}] [:dx/delete [:db/id 1] :friend]]) ``` This throws an exception "Key must be integer". Likewise...
Given the smallest reproduction scenario I could come up with: ```clojure (dx/dx-with [{:parent #{[:id "291020"]} :id "757796"}]) ``` I expect to see a reverse relation `:_parent` on the entity `[:id...