boost_sqlite 1
A sqlite C++ library
Loading...
Searching...
No Matches
boost::sqlite::row Struct Reference

Representation of a row in a database. More...

#include <include/boost/sqlite/row.hpp>

Classes

struct  const_iterator
 Random access iterator used to iterate over the columns. More...
 

Public Member Functions

field at (std::size_t idx) const
 Returns the field at idx,.
 
const_iterator begin () const
 Returns the begin of the column-range.
 
const_iterator end () const
 Returns the end of the column-range.
 
field operator[] (std::size_t idx) const
 Returns the field at idx.
 
std::size_t size () const
 The size of the row.
 

Detailed Description

Representation of a row in a database.

Is a random-access range.

All values that are obtained by view are valid until the next row is read.

Definition at line 20 of file row.hpp.

Member Function Documentation

◆ at()

field boost::sqlite::row::at ( std::size_t idx) const

Returns the field at idx,.

Exceptions
std::out_of_range

The documentation for this struct was generated from the following file: