datascript

Immutable database and Datalog query engine for Clojure, ClojureScript and JS
2019-06-13T04:24:50.001400Z

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.

2019-06-13T10:58:16.002100Z

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

2019-06-13T14:34:40.002700Z

oh, yes. of course.