Skip to main content

Module txforms

Module txforms 

Source
Expand description

Boundary conversion from wire EDN transaction forms to engine TxItems.

Accepts the Datomic-dialect forms used by the conformance corpus: map forms with :db/id, and list forms [:db/add e a v], [:db/retract e a v], [:db/cas e a old new], [:db/retractEntity e]. Entity positions accept tempid strings, raw entity-id longs, #eid tags, idents, and lookup refs. Value positions for ref attributes accept the same except tempid strings (same-transaction value tempids are not supported by the transaction layer; clients resolve them against prior tempid maps).

Enums§

TxFormError
Transaction form conversion failure.

Functions§

tx_items_from_edn
Converts wire EDN transaction forms into engine transaction items.