does anyone know if the order of datoms in a tx matters?
I have a bunch of datoms in the operation format (`[:db/add 1 :prop "value]`)
if it helps, I know these are already normalised because I got them off a tx-report
I'd like to know if I could transact them in a new tx but in random order, and if that'd always yield the same db
I suspect the order of :db/add and :db/retract in a transaction will matter if they refer to the same attribute of the same entity
yes that sounds likely...
I also tried making the order not matter and that make some pulls present varying order on ref arrays
@filipematossilva fwiw, I believe the behavior of datascript & datomic differ in behavior for this case. https://github.com/tonsky/datascript/issues/172
that definitely answers my question
so yeah, order matters a lot
thanks!