LiteSQL
Public Member Functions | List of all members
litesql::Cursor< T > Class Template Reference

used to iterate results of SQL statement, creates objects of type T from retrieved records. More...

#include <cursor.hpp>

Public Member Functions

 Cursor (const Database &db, Backend::Cursor *c)
 
 ~Cursor ()
 deletes Backend::Cursor
 
Cursor< T > & operator++ ()
 steps to next record
 
Cursor< T > & operator++ (int)
 steps to next record
 
std::vector< T > dump ()
 returns the rest of the result set in vector
 
operator* ()
 returns current record
 
bool rowsLeft ()
 returns true if there are records left in the result set
 

Detailed Description

template<class T>
class litesql::Cursor< T >

used to iterate results of SQL statement, creates objects of type T from retrieved records.

See Using Cursor


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

SourceForge.net Logo