Classes | |
class | ResultIterator |
Class for iterating over the result of a database query. More... | |
class | Statement |
Class that contains a statement for querying the sqlite db. More... | |
class | SqliteDB |
Connect to and query sqlite database. More... | |
Typedefs | |
typedef std::pair< const void *, size_t > | Blob |
Functions | |
void | showSqlite3Error (const char *infunction, sqlite3 *db) |
sqlite3_stmt * | prepareStatement (const char *sqlcode, sqlite3 *db) |
template<> | |
std::string | ResultIterator::get< std::string > (int column) |
template<> | |
schma::UnicodePtr | ResultIterator::get< schma::UnicodePtr > (int column) |
typedef std::pair<const void*, size_t> SQLitePP::Blob |
Definition at line 44 of file sqlitepp.h.
sqlite3_stmt * SQLitePP::prepareStatement | ( | const char * | sqlcode, | |
sqlite3 * | db | |||
) |
Definition at line 25 of file sqlitepp.cpp.
References showSqlite3Error().
Referenced by SQLitePP::SqliteDB::cachedStatement().
schma::UnicodePtr SQLitePP::ResultIterator::get< schma::UnicodePtr > | ( | int | column | ) |
std::string SQLitePP::ResultIterator::get< std::string > | ( | int | column | ) |
void SQLitePP::showSqlite3Error | ( | const char * | infunction, | |
sqlite3 * | db | |||
) |
Definition at line 39 of file sqlitepp.cpp.
Referenced by SQLitePP::Statement::exec(), and prepareStatement().