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

◆ RetrieveValueToEntity()

template<IdentifierType IDENTIFIER>
void sqt::IdentifierValueTraits< IDENTIFIER >::RetrieveValueToEntity ( const Statement & statement,
int column_index,
EntityType & entity )
static

Retrieves a value from the statement and sets it to the entity.

Parameters
statementThe statement from which the value is retrieved.
column_indexThe index of the column from which the value is retrieved.
entityThe entity to which the value is set.

This method calls the RetrieveValue() method to retrieve the value from the statement and then sets it to the entity using the ValueSource of the identifier.