Reputation: 11734
I have a hashset of Entity IDs:
#{1234 5678 9012 4864 ...}
How can I return a collection of maps of each Entity's attributes and values. I am guessing this is done with the pull api?
Upvotes: 1
Views: 141
Reputation: 6051
Sure, for instance with pull-many
:
(require '[datomic.api :as d])
(d/pull-many db '[*] (seq #{1234 5678 9012 4864}))
Upvotes: 2