maps property names to column names; use it to override default mapping for some properties
Creates a mapping between the properties of type T
and given table
Creates a mapping between the properties of type T
and given table
Provides a definition of the table that class T
could be saved to.
Provides a definition of the table that class T
could be saved to.
(defaultColumnMapper: StringAdd).self
(defaultColumnMapper: StringFormat).self
(defaultColumnMapper: ArrowAssoc[DefaultColumnMapper[T]]).x
(Since version 2.10.0) Use leftOfArrow
instead
(defaultColumnMapper: Ensuring[DefaultColumnMapper[T]]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
A ColumnMapper that assumes camel case naming convention for property accessors and constructor names and underscore naming convention for column names.
Example mapping:
Additionally, it is possible to name columns exactly the same as property names (case-sensitive):