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

◆ BindValueFromEntity()

template<typename ENTITY>
virtual void sqt::Column< ENTITY >::BindValueFromEntity ( Statement & statement,
int parameter_index,
const ENTITY & entity ) const
pure virtual

Binds the column value extracted from an entity to the statement at the specified parameter index.

Parameters
statementThe statement to which the value is bound.
parameter_indexThe index of the parameter to which the value is bound.
entityThe entity from which the value is extracted.
Exceptions
sqt::SQLErrorThrown if the binding fails.