Template Class SqliteStatementWrapper::QueryResult

Nested Relationships

This class is a nested type of Class SqliteStatementWrapper.

Nested Types

Class Documentation

template<typename ...Columns>
class QueryResult

Public Types

using RowType = std::tuple<Columns...>

Public Functions

inline explicit QueryResult(std::shared_ptr<SqliteStatementWrapper> statement)
inline Iterator begin()
inline Iterator end()
inline RowType get_single_line()
class Iterator

Public Types

using iterator_category = std::input_iterator_tag
using value_type = RowType
using difference_type = std::ptrdiff_t
using pointer = RowType*
using reference = RowType&

Public Functions

inline Iterator(std::shared_ptr<SqliteStatementWrapper> statement, int position)
Iterator(const Iterator&) = delete
Iterator &operator=(const Iterator&) = delete
Iterator(Iterator&&) = default
Iterator &operator=(Iterator&&) = default
inline Iterator &operator++()
inline Iterator operator++(int)
inline RowType operator*() const
inline bool operator==(const Iterator &other) const
inline bool operator!=(const Iterator &other) const

Public Static Attributes

static const int POSITION_END = -1