@datran You can write a transactor function that increments an internal count on an attribute if you do now want to store duplicates.
does datahike support :db.type/tuple?
Not yet, to my knowledge.
ok, good to know. thanks
If anyone has suggestions, I'm going to take a whack at implementing tuples for datascript first and then port it to datahike: https://github.com/tonsky/datascript/issues/323
Going to attempt to follow the datomic spec as much as I can but some of it is a bit confusing. Specifically this: https://docs.datomic.com/on-prem/schema.html#adding-composite-existing
Ah I see. It just means it won't try to index the tuples on schema load. That'll be more of a concern for datahike than datascript