Fork me on GitHub
#datahike
<
2021-02-27
>
fugbix09:02:11

Hello everyone!! Many thanks for this wicked project! I am currently moving a project form Datomic to Datahike, and found out that :db.type/bytes is not currently supported by Datahike. I am using this type to store (compressed) arrays of pairs of string and double. The range of the arrays can vary between 100 and 10000 pairs, so between 3 and 102 kilobytes, using nippy and 16 char strings. Should I use a :db.type/string instead? Or maybe create schema attributes for these pairs (e.g. tuple) and use a :db.type/ref together with isComponent? Any advise, would be much appreciated! Thank you 🙂