(datom-batch-tx-data source-db datoms source-eid->dest-eid lookup-dest-eid-fn)Idents managed by Datomic that should not be added to user-land schema.
Idents managed by Datomic that should not be added to user-land schema.
(format-duration ms)Format milliseconds as human-readable duration
Format milliseconds as human-readable duration
(next-datoms-state {:keys [source-eid->dest-eid db-before] :as acc}
source-db
datoms
lookup-dest-eid-fn
tx!)(q-datomic-internal-source-eid->dest-eid source-db dest-db)(read-transactions-to-chan! conn argm dest-ch)Read transactions to a channel with retry and resumption. Similar to read-datoms-to-chan! but for transactions.
Parameters:
Read transactions to a channel with retry and resumption. Similar to read-datoms-to-chan! but for transactions. Parameters: - conn: Datomic connection - argm: Map with keys: - :start - Starting t or tx value (inclusive, optional) - :stop - Stopping t or tx value (exclusive, optional) - :xf - Transducer to apply to transaction datoms (optional) - dest-ch: Channel to write transactions to
(transactions-from-conn source-conn
{:keys [start stop transform-datoms timeout]})(transactions-from-file reader
{:keys [transform-datoms]
:or {transform-datoms identity}})(tuple-element-types db attr)Returns vector of value types for tuple elements, or nil if not a tuple. Handles three tuple variants:
Returns vector of value types for tuple elements, or nil if not a tuple. Handles three tuple variants: - Composite (:db/tupleAttrs) - gets valueType of each constituent - Heterogeneous (:db/tupleTypes) - returns explicit types - Homogeneous (:db/tupleType) - repeats single type
(with-timing & body)Execute body and return [result elapsed-ms]
Execute body and return [result elapsed-ms]
(write-state-file! state-file {:keys [:source-eid->dest-eid :last-source-tx]})cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |