Fork me on GitHub
Alex Miller (Clojure team)15:03:44

some Datomic folk are out atm, response might be delayed, but I'll copy into our internal support room

👍 4
Lucas Barbosa18:03:06

Is there a way to perform a "left anti join" on datomic? I want to find all the entities with a certain attribute whose values is not in a list that I pass in as an argument For instance, Imagine I have the :order/type attribute, and I want to find all the orders whose :order/type is different than let's say :created and delivered The argument would be [:created :devivered] , and it could change


if the attribute value you are testing is cardinality-one, the easiest thing IMO is to provide the filter as a set and (not [(contains? ?filter ?v)])