1

IF I have the following set of entities in my xtdb/datomic database

{:name "1" :likes [:a :b :c]}
{:name "2" :likes [:a :b]}
{:name "3" :likes [:a :b :c]}

I want to write a query that returns pairs of entites that have exact match on :likes attribute. In this case #{[1,3]}

There was a similar question but in that case it doesn't care about "exact" match

ffff
  • 2,853
  • 1
  • 25
  • 44

0 Answers0