ORM C++
Loading...
Searching...
No Matches
orm::model::PrimaryKey< Members > Struct Template Referenceexport
module orm

Public Member Functions

constexpr auto contains (std::string_view memberName) const -> bool

Static Public Member Functions

template<typename Model>
static consteval auto isValidFor () -> bool
template<typename Model>
static consteval auto indices ()

Static Public Attributes

static constexpr std::size_t size = sizeof...(Members)

Detailed Description

template<auto... Members>
struct orm::model::PrimaryKey< Members >

Definition at line 284 of file mapping.cppm.

Member Function Documentation

◆ contains()

template<auto... Members>
auto orm::model::PrimaryKey< Members >::contains ( std::string_view memberName) const -> bool
inlinenodiscardconstexpr

Definition at line 303 of file mapping.cppm.

◆ indices()

template<auto... Members>
template<typename Model>
consteval auto orm::model::PrimaryKey< Members >::indices ( )
inlinestaticnodiscardconsteval

Definition at line 318 of file mapping.cppm.

◆ isValidFor()

template<auto... Members>
template<typename Model>
consteval auto orm::model::PrimaryKey< Members >::isValidFor ( ) -> bool
inlinestaticnodiscardconsteval

Definition at line 289 of file mapping.cppm.

Member Data Documentation

◆ size

template<auto... Members>
std::size_t orm::model::PrimaryKey< Members >::size = sizeof...(Members)
inlinestaticconstexpr

Definition at line 286 of file mapping.cppm.


The documentation for this struct was generated from the following file: