SQT
A C++ ORM framework for SQLite
Loading...
Searching...
No Matches
sqt::AbstractColumn Class Referenceabstract

#include <sqt/orm/table/column/abstract_column.h>

Inheritance diagram for sqt::AbstractColumn:

Description

An interface that provides access to information about a column of a table.

This interface is implemented by all column types defined using the SQT_COLUMN_FIELD, SQT_COLUMN_ACCESSOR and SQT_COLUMN_CUSTOM macros. It allows the way to interact with column definitions in a non-template manner.

See also
SQT_COLUMN_FIELD
SQT_COLUMN_ACCESSOR
SQT_COLUMN_CUSTOM
sqt::AbstractTable

Public Member Functions

 AbstractColumn (const AbstractColumn &)=delete
AbstractColumnoperator= (const AbstractColumn &)=delete
virtual std::string_view GetName () const noexcept=0
virtual DataType GetDataType () const noexcept=0
virtual bool IsNullable () const noexcept=0