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

◆ RetrieveValue()

template<EntityValueType T>
EntityType sqt::EntireEntityValueTraits< T >::RetrieveValue ( const Statement & statement,
int column_index )
static

Retrieves the entire entity 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 entity value.

This method delegates to the RetrieveValueToEntity() method of each column in the entity's table type. The column index is incremented for each column.

See also
sqt::Column<>::RetrieveValueToEntity()