datahike

alekcz 2024-07-01T18:53:05.608459Z

I have the following datoms:

(#datahike/Datom [5101 :invoice/id "inv12345678" 536871720 true] 
 #datahike/Datom [5101 :invoice/number "20240624" 536871720 false] 
 #datahike/Datom [5101 :invoice/number "20240624" 536905530 true] 
 #datahike/Datom [5101 :invoice/number "20240625" 536871720 true] 
 #datahike/Datom [5101 :invoice/number "20240625" 536905530 false])
When I export datoms using d/datoms all of these are returned with history on, but when I query the db invoice/number is never returned is this because :invoice/number was asserted and retracted in the same transaction?

whilo 2024-07-02T00:03:27.923379Z

It looks like they were added in 536871720 and retracted in 536905530.

whilo 2024-07-02T00:04:04.407979Z

Not in the same transaction.

whilo 2024-07-02T00:04:08.370349Z

Are you sure it is?