Historical Queries


The cloud documentation references tx-ids as a built-in function.

The docs state:

Given a database log, start, and end, tx-ids returns a collection of transaction ids.

And the abstract example shows passing a log, but it is not clear to me what actually gets passed as an argument to the query. Any help or specific examples would appreciated.


You can use history, as-of, and since database values as arguments to query when looking at historical data.

If you want to access a set of transactions by t or tx, you can use the tx-range API.

The section of the docs you referenced was incorrectly placed - those functions are used in Datomic On-Prem. I’ve corrected the doc page.