Skip to main content

Module model

Module model 

Source
Expand description

Column-level write staging for SQLx models.

An ActiveRow records, per physical column, whether a write sets it, leaves a loaded value unchanged, or omits it. Inserts write every present column; updates write only set columns, so concurrent changes to other columns survive. Both return the stored row.

Structs§

ActiveRow
Per-column write state of one model row, in model column order.
ColumnDef
A physical model column.

Enums§

ActiveValue
One column’s write state.

Traits§

SqlxModel
A table-backed SQLx model.