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

#include <sqt/orm/table/primary_key/abstract_primary_key.h>

Inheritance diagram for sqt::AbstractPrimaryKey:

Description

An interface that provides access to information about the primary key of a table.

This interface is implemented by all primary key types defined using the SQT_PRIMARY_KEY or SQT_PRIMARY_KEY_AUTO_INC macros. It allows the way to interact with primary key definitions in a non-template manner.

See also
SQT_PRIMARY_KEY
SQT_PRIMARY_KEY_AUTO_INC
sqt::AbstractTable

Public Member Functions

 AbstractPrimaryKey (const AbstractPrimaryKey &)=delete
AbstractPrimaryKeyoperator= (const AbstractPrimaryKey &)=delete
virtual AbstractColumnsView GetAbstractColumns () const noexcept=0
virtual bool IsAutoInc () const noexcept=0