Fork me on GitHub
#datomic
<
2018-02-03
>
robert-stuttaford11:02:40

@marshall “The Schema Growth principle provides a means for entiteshttps://docs.datomic.com/on-prem/best-practices.html

robert-stuttaford11:02:35

@marshall / @stuarthalloway you may want to drop the note about using squuid on the best practice doc, given that adaptive indexing makes it redundant and Client doesn’t expose it

jocrau15:02:26

@alex438 The Datom itself does not have a time information but references the Transaction which records the transaction time (:db/txInstant). The transaction time provides a reference point for the state of the world from the perspective of the database (used as “aggregate all datoms from the beginning of time up to the transaction time”). I keep that completely separate from other notions of time in my business domain. In my business domain I want to answer questions like “When was Alice born?” not “When became Datomic aware of the fact that Alice was born on …“; a subtle but important distinction.

jocrau15:02:07

I would assert the discount information simply as new fact.