ORM C++
Loading...
Searching...
No Matches
orm::db::binding::BindingPayload< T, SchemaType, JoinedValues > Struct Template Referenceexport
module orm

Static Public Member Functions

static constexpr auto modelDescriptor () noexcept -> model::ModelView
template<std::size_t FieldIndex>
static constexpr auto columnDescriptor () noexcept -> const model::ColumnView &
static constexpr auto columnDescriptor (std::size_t fieldIndex) -> const model::ColumnView &

Public Attributes

T value {}

Static Public Attributes

static constexpr bool joinedValues = JoinedValues

Detailed Description

template<typename T, typename SchemaType, bool JoinedValues = false>
struct orm::db::binding::BindingPayload< T, SchemaType, JoinedValues >

Definition at line 70 of file payload.cppm.

Member Function Documentation

◆ columnDescriptor() [1/2]

template<typename T, typename SchemaType, bool JoinedValues = false>
template<std::size_t FieldIndex>
constexpr auto orm::db::binding::BindingPayload< T, SchemaType, JoinedValues >::columnDescriptor ( ) -> const model::ColumnView &
inlinestaticnodiscardconstexprnoexcept

Definition at line 83 of file payload.cppm.

◆ columnDescriptor() [2/2]

template<typename T, typename SchemaType, bool JoinedValues = false>
constexpr auto orm::db::binding::BindingPayload< T, SchemaType, JoinedValues >::columnDescriptor ( std::size_t fieldIndex) -> const model::ColumnView &
inlinestaticnodiscardconstexpr

Definition at line 88 of file payload.cppm.

◆ modelDescriptor()

template<typename T, typename SchemaType, bool JoinedValues = false>
constexpr auto orm::db::binding::BindingPayload< T, SchemaType, JoinedValues >::modelDescriptor ( ) -> model::ModelView
inlinestaticnodiscardconstexprnoexcept

Definition at line 77 of file payload.cppm.

Member Data Documentation

◆ joinedValues

template<typename T, typename SchemaType, bool JoinedValues = false>
bool orm::db::binding::BindingPayload< T, SchemaType, JoinedValues >::joinedValues = JoinedValues
inlinestaticconstexpr

Definition at line 75 of file payload.cppm.

◆ value

template<typename T, typename SchemaType, bool JoinedValues = false>
T orm::db::binding::BindingPayload< T, SchemaType, JoinedValues >::value {}
mutable

Definition at line 74 of file payload.cppm.


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