Module mapping

Module mapping 

Source

Structs§

EnumVariant
Mapping for a single variant of an embedded enum.
FieldEnum
Maps an embedded enum field to its discriminant column and per-variant data columns.
FieldPrimitive
Maps a primitive field to its table column.
FieldRelation
Maps a relation field (BelongsTo, HasMany, HasOne).
FieldStruct
Maps an embedded struct field to its flattened column representation.
Mapping
Defines the correspondence between app-level models and database-level tables.
Model
Defines the bidirectional mapping between a single model and its backing table.
TableToModel
Expression template for converting table rows into model records.

Enums§

Field
Maps a model field to its database storage representation.