boost_sqlite 1
A sqlite C++ library
|
A typed resultset using a tuple or a described struct. More...
#include <include/boost/sqlite/static_resultset.hpp>
Classes | |
struct | iterator |
The input iterator can be used to read every row in a for-loop. More... | |
Public Member Functions | |
iterator | begin () |
Return an input iterator to the currently unread row. | |
core::string_view | column_name (std::size_t idx) const |
Returns the name of the column idx. | |
core::string_view | column_origin_name (std::size_t idx) const |
Returns the origin name of the column for column idx. | |
T | current () const & |
Returns the current row. | |
bool | done () const |
Checks if the last row has been reached. | |
iterator | end () |
Sentinel iterator. | |
core::string_view | table_name (std::size_t idx) const |
Returns the name of the source table for column idx. | |
bool | read_next (system::error_code &ec, error_info &ei) |
bool | read_next () |
A typed resultset using a tuple or a described struct.
T | The static type of the query. |
If is a forward-range with output iterators.
Definition at line 272 of file static_resultset.hpp.
|
inline |
Read the next row. Returns false if there's nothing more to read.
Definition at line 285 of file static_resultset.hpp.
|
inline |
Read the next row. Returns false if there's nothing more to read.
Definition at line 284 of file static_resultset.hpp.