Hello. I would like to mirror a database. Therefore I need to periodically export changes. What is the idiomatic way to export all changes since a given transaction id?
You can also use the since
function like shown https://github.com/replikativ/datahike/blob/development/examples/basic/src/examples/time_travel.clj#L59.
I came up with this: [:find ?e ?a ?v :where [?e ?a ?v ?t] [(> ?t ?last-tx-id)]]
. Not sure, if this is the right way to do it.