Fork me on GitHub
#datascript
<
2020-02-20
>
bartuka01:02:41

hi, I would like to know if this behavior is expected:

(ds/conn-from-datoms [#datascript/Datom [1 :maker/name "BMW" 536870913 true]
                      #datascript/Datom [1 :maker/name "BMW" 536870914 false]])

#datascript/DB{:datoms [[1 :maker/name BMW 536870913] [1 :maker/name BMW 536870914]]}

bartuka01:02:22

i got into this scenario because I was loading the datoms from a persistent data structure. When I perform the same set of operations in memory, the database has no datoms for these fact

bartuka01:02:46

I think I will have to handle this situations when loading the datoms from past databases

richiardiandrea17:02:42

@iagwanderson what is the schema? that dictates which datoms are going to be built and how