SQT
A C++ ORM framework for SQLite
Loading...
Searching...
No Matches
sqt::CompositeValueTraits< TRAITS > Class Template Reference

#include <sqt/orm/value/trivial/composite/composite_value_traits.h>

Description

template<BasicValueTraitsType... TRAITS>
class sqt::CompositeValueTraits< TRAITS >

Defines traits for composite value types.

Template Parameters
TRAITSA pack of types that each satisfy the sqt::BasicValueTraitsType concept. The pack must not be empty.

This traits type is a composite of multiple basic value traits types.

This class template satisfies the sqt::CompositeValueTraitsType concept.

See also
sqt::BasicValueTraitsType
sqt::CompositeValueTraitsType

Public Types

using ValueTraitsTypes = std::tuple<TRAITS...>
using ValueType = std::tuple<typename TRAITS::ValueType...>

Static Public Member Functions

static void BindValue (Statement &statement, int parameter_index, const ValueType &value)
static ValueType RetrieveValue (const Statement &statement, int column_index)