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

◆ Reset()

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

Resets the statement's state for reusing.

Exceptions
sqt::SQLErrorThrown if the reset fails.

This method resets the statement's internal state, allowing the query to be re-executed.

The placeholder bindings are not cleared, so they remain intact for reuse. To modify the bindings, call the BeginBindings() method again and bind new parameters before calling the Execute() method.

See also
sqt::Executor<>::BeginBindings()
sqt::Executor<>::Execute()