Constrains a type to be a column type.
Requirements
- The type must derive from sqt::AbstractColumn.
- The type must have a nested type EntityType, representing the entity type from which the column is mapped.
- The type must have a nested type ValueType, representing the value type of the column.
- The type must have a nested type ValueTraits, defining traits for the value type.
- The type must have a nested type ValueSource, which must satisfy the sqt::ValueSourceType concept.
- The type must have a static constant Name of type std::string_view.
Columns defined by the SQT_COLUMN_FIELD, SQT_COLUMN_ACCESSOR and SQT_COLUMN_CUSTOM macros satisfy this concept.
- See also
- sqt::AbstractColumn
-
sqt::ValueSourceType
-
SQT_COLUMN_ACCESSOR
-
SQT_COLUMN_CUSTOM
-
SQT_COLUMN_FIELD