Fork me on GitHub
#datomic
<
2023-01-14
>
uwo00:01:35

I just tried and found out that d/q accepts a reducible as a collection argument and I'm very happy 🙂

indy13:01:31

Is there a simple way to parse datomic exceptions?

{:cognitect.anomalies/category :cognitect.anomalies/conflict,
       :cognitect.anomalies/message "Unique conflict: :user/email, value:  already held by: 92358976733264 asserted for: 87960930222161",
       :db/error :db.error/unique-conflict}
Example: I wish got the attribute :user/email and value as data instead of being embedded inside a string.

indy13:01:31

Found this https://groups.google.com/g/datomic/c/kOBvvc228VM, and it seems like it hasn’t been prioritized in 6 years.