|
LiteSQL
|
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 | |
| T | operator* () |
| returns current record | |
| bool | rowsLeft () |
| returns true if there are records left in the result set | |
used to iterate results of SQL statement, creates objects of type T from retrieved records.
See Using Cursor