SQT
A C++ ORM framework for SQLite
Loading...
Searching...
No Matches
◆
MakePrimaryKey()
template<ColumnType... COLUMNS>
PrimaryKey
< COLUMNS... > MakePrimaryKey
(
const COLUMNS &...
columns
)
related
A helper function to deduce the type of a primary key from columns.
Template Parameters
COLUMNS
The column types that make up the primary key.
Parameters
columns
The column instances. They are only used to deduce the column types and will not be used.
Returns
The
sqt::PrimaryKey
<>
type deduced from the provided columns.
sqt
PrimaryKey
Generated by
1.14.0