Fork me on GitHub
#datascript
<
2019-06-13
>
drewverlee04:06:50

is there a way to look up all entities with a given set of attributes? With pure datomic i believe this would be done using idents, but we dont have those 🙂. i suppose i could make a "type" and set it to true, but that seems a tad clunky.

danielstockton10:06:16

:where [?e1 :attribute1] [?e1 :attribute2] [:e1 :attribute3] ?

drewverlee14:06:40

oh, yes. of course.