These are functions our team needed for supporting our core use cases. They extend the XTDB api and are currently used in production.
-
Transaction operations predicates
-
Transformations from history items to transaction operations
-
Attribute extracting functions (i.e.
start-valid-time) for transaction operations -
Functions that revert an entity before a specific time
-
Helpers for computing and submitting
::xt/matchoperations alongside their::xt/putfor an entity
deps.edn dependency information:
com.cohesic/xtdb {:git/url "https://github.com/cohesic/cohesic-xtdb.git"
:sha "<insert-latest-sha>"}At the moment this library only supports the git library method (Clojars deployment is planned).
We use Babashka Tasks as task runner, run bb tasks for the list of commands.