|
lintel 0.2.0
|
#include <Result.h>
Public Member Functions | |
| void | add (const db::Arguments &arguments) |
| std::string | getValue (int row, int attribute) |
| int | getNumOfAttributes () const |
| int | getSize () const |
| db::Arguments & | of (std::size_t pos) |
Wraps an SQLite query result with row/column access.
| void lintel::sqlite::Result::add | ( | const db::Arguments & | arguments | ) |
Adds a row of arguments to the result.
| arguments | the row arguments |
| int lintel::sqlite::Result::getNumOfAttributes | ( | ) | const |
| int lintel::sqlite::Result::getSize | ( | ) | const |
Retrieves a value at the given row and column.
| row | the row index |
| attribute | the column index |
| db::Arguments & lintel::sqlite::Result::of | ( | std::size_t | pos | ) |
Accesses a row's arguments (mutable).
| pos | the row index |