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

◆ Execute() [1/2]

template<QuerierType QUERIER>
void sqt::Executor< QUERIER >::Execute ( )

Executes the statement for the non-select querier.

Exceptions
sqt::SQLErrorThrown if the execution fails.
Note
This method is available only if the querier does not satisfy the sqt::SelecterType concept.

This method executes a non-select statement, such as an INSERT, UPDATE, or DELETE statement. The following methods can be used to retrieve the results of the execution:

To re-execute the same statement, call the Reset() method first and then call this method again.

See also
sqt::Executor<>::LastChanges()
sqt::Executor<>::LastInsertRowID()
sqt::Executor<>::Reset()
sqt::SelecterType