Database transactions

Last edited: April 17, 2019
Transactions are
  • associated with attributes
  • defined with a multimethod

A simple transaction, :db.fn/cas

When the button is clicked, the method will be called with eav [17592186046196 :dustingetz.reg/age 102].

Custom renderer

From a custom Reagent view, you can pass arguments to the txfn via the ctx param:

Execution environment

  • Transaction functions are ClojureScript
  • Today they execute in the client web browser