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

◆ operator*()

template<SelecterType SELECTER>
value_type sqt::Iterator< SELECTER >::operator* ( ) const

Retrieves the current result element pointed by the iterator.

Returns
A new result element of the type specified by the selecter.
Exceptions
..Any exception thrown during the construction of the result element.

This method retrieves data from the statement and creates a new result element each type it is called, even if the position of the iterator is not changed. Avoid calling this method repeatedly if the construction of the result element is expensive.