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

◆ operator++() [1/2]

template<SelecterType SELECTER>
Iterator & sqt::Iterator< SELECTER >::operator++ ( )

Advances the iterator to the next result element.

Returns
The iterator itself.
Exceptions
sqt::SQLErrorThrown if the underlying statement execution fails.

This method moves the cursor of the SELECT statement to the next result element. If there are no more result elements, the iterator will be set to the end state.

See also
sqt::Iterator<>::Iterator(Statement&, std::monostate)