What sql.model reads from a model class: its select Type and
its insert / update variants' Types (Class.__model_variants__).
Attributes#
| Attribute | Type | Description |
|---|---|---|
model | Codec[A_co, Any, Any, Any] | |
insert | VariantStructSchema[Any] | |
update | VariantStructSchema[Any] |
Functions#
__init__#
__init__(model, insert, update) -> None| Parameter | Type | Description |
|---|---|---|
model | Codec[A_co, Any, Any, Any] | |
insert | VariantStructSchema[Any] | |
update | VariantStructSchema[Any] |