qpdb / mentat

A persistent, relational store inspired by Datomic and DataScript.
https://mentat.rs/
Apache License 2.0
52 stars 2 forks source link

Consider including counts of assertions/retractions in the TxReport #281

Open gburd opened 4 years ago

gburd commented 4 years ago

In our current explorations of syncing, it's useful to know if a TxReport represents a transaction that did nothing. Currently the only way to do find this out is by querying a transactions table after the fact. A simple way to represent this state would be with a simple flag on the TxReport - but perhaps we'd want to know more information about what a transaction did at some point - hence the counts.

This assumes that we'll be using transactor for syncing purposes beyond initial prototyping.