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

◆ RetrieveValue()

template<BasicValueTraitsType... TRAITS>
ValueType sqt::CompositeValueTraits< TRAITS >::RetrieveValue ( const Statement & statement,
int column_index )
static

Retrieves a composite value from the statement, starting at the specified column index.

Parameters
statementThe statement from which the value is retrieved.
column_indexThe starting index of the columns from which to retrieve the value.
Returns
The retrieved composite value.

This method delegates to the RetrieveValue() method of each basic value traits type in the TRAITS type pack. The column index is incremented for each value in the composite value.