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

◆ RetrieveValue()

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

Retrieves the non-primary key columns of the 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 the value is retrieved.
Returns
The retrieved entity value. Its values corresponding to the non-primary key columns are left intact.

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

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