Use Datomic temporal queries to reason about historical state, audit needs, and time-aware application behavior.
This section bridges the chapter overview and the detailed lessons below. For Java engineers, the practical question is how to handle temporal querying with Datomic in Clojure code at the database boundary.
| Review focus | What to check |
|---|---|
| As-of views | Ask what the database looked like at a known point. |
| History | Use facts to answer audit and debugging questions. |
| Clojure queries | Keep time arguments explicit in query functions. |
Use the child lessons to move from concept to implementation. The section goal is to make the trade-off visible before the code hardens around a database assumption.