SQT
A C++ ORM framework for SQLite
Loading...
Searching...
No Matches

◆ Table

template<typename ENTITY>
const auto& sqt::Table = TableType<ENTITY>::GetInstance()
constexpr

A helper template to retrieve the singleton instance of the table type associated with an entity type.

Template Parameters
ENTITYThe entity type.

This template is a shorthand for sqt::TableMapping<ENTITY>::type::GetInstance().

See also
sqt::TableMapping<>