Fork me on GitHub
#datomic
<
2015-08-07
>
arohner22:08:10

I’m seeing weird behavior in a query. when I use a simple d/q, with a search on one attribute, (d/q [?find (pull ?e [*]) :where [?e :foo/bar ?x]] db x), everything works fine. There’s only one result in that query. When I add a second attribute that I know ?e possesses, instead of getting the result, I appear to get the tx entity: [{:db/id 13194139534324, :db/txInstant #inst "2015-08-07T22:34:21.299-00:00”}]

arohner22:08:50

*add a second attribute = add a second attribute to the query, [?e :foo/bar ?x] [?e :foo/bbq ?y]