datahike

https://datahike.io/, Join the conversation at https://discord.com/invite/kEBzMvb, history for this channel is available at https://clojurians.zulipchat.com/#narrow/stream/180378-slack-archive/topic/datahike
whilo 2020-02-03T00:41:45.032300Z

@datran You can write a transactor function that increments an internal count on an attribute if you do now want to store duplicates.

2020-02-03T18:38:44.033Z

does datahike support :db.type/tuple?

2020-02-03T18:41:03.033300Z

Not yet, to my knowledge.

2020-02-03T18:43:00.033800Z

ok, good to know. thanks

unbalanced 2020-02-03T22:42:17.034500Z

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

unbalanced 2020-02-03T22:44:17.035500Z

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

unbalanced 2020-02-03T22:45:23.036400Z

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