#include <sqt/orm/table/primary_key/primary_key.h>
Represents a primary key for a table, which is a composite of one or more columns.
| COLUMNS | The column types that make up the primary key. Each column must satisfy the sqt::ColumnType concept and must not be nullable. |
This class template is a base class for all primary key types defined using the SQT_PRIMARY_KEY or SQT_PRIMARY_KEY_AUTO_INC macros.
Public Member Functions | |
| AbstractColumnsView | GetAbstractColumns () const noexcept override |
| Public Member Functions inherited from sqt::AbstractPrimaryKey | |
| AbstractPrimaryKey (const AbstractPrimaryKey &)=delete | |
| AbstractPrimaryKey & | operator= (const AbstractPrimaryKey &)=delete |
| virtual bool | IsAutoInc () const noexcept=0 |
Related Symbols | |
(Note that these are not member symbols.) | |
| template<ColumnType... COLUMNS> | |
| PrimaryKey< COLUMNS... > | MakePrimaryKey (const COLUMNS &... columns) |