Go to the documentation of this file.
34 #ifndef TTA_SQLITE_CONNECTION_HH
35 #define TTA_SQLITE_CONNECTION_HH
52 virtual int updateQuery(
const std::string& queryString);
53 virtual void DDLQuery(
const std::string& queryString);
55 const std::string& queryString,
bool init =
true);
75 sqlite3_stmt*
compileQuery(
const std::string& queryString);
virtual int rowCountInTable(const std::string &tableName)
sqlite3_stmt * compileQuery(const std::string &queryString)
virtual void DDLQuery(const std::string &queryString)
int RowID
Type definition of row ID in relational databases.
virtual ~SQLiteConnection()
virtual void beginTransaction()
virtual RelationalDBQueryResult * query(const std::string &queryString, bool init=true)
void throwIfSQLiteError(int result)
virtual int updateQuery(const std::string &queryString)
void finalizeQuery(sqlite3_stmt *statement)
virtual RowID lastInsertRowID()
sqlite3 * connection_
SQLite connection handle is saved to this.
virtual void updateVersion(int version)
SQLiteConnection(sqlite3 *connection)
virtual bool tableExistsInDB(const std::string &tableName)