Expand description
Op → SQL translation: the Reducer trait a data domain implements to turn
each of its ops into the backend writes that materialize it.
Kept as its own module so the ingestion processor can
drive any reducer generically. See Reducer for the three-phase
prepare/apply/post_apply contract that lets one op map onto every backend.
Traits§
- Reducer
- Translates a single op into the SQL writes that materialize it, in three
phases so the work maps onto every backend — including ones with no
interactive transaction (e.g. D1’s
batch()):