16 #ifndef ALEXA_CLIENT_SDK_STORAGE_SQLITESTORAGE_INCLUDE_SQLITESTORAGE_SQLITEDATABASE_H_ 17 #define ALEXA_CLIENT_SDK_STORAGE_SQLITESTORAGE_INCLUDE_SQLITESTORAGE_SQLITEDATABASE_H_ 29 namespace sqliteStorage {
71 Transaction(std::weak_ptr<SQLiteDatabase> dbHandle);
76 std::weak_ptr<SQLiteDatabase> m_database;
81 bool m_transactionCompleted;
185 bool commitTransaction();
191 bool rollbackTransaction();
197 bool m_transactionIsInProgress;
207 std::shared_ptr<SQLiteDatabase> m_sharedThisPlaceholder;
214 #endif // ALEXA_CLIENT_SDK_STORAGE_SQLITESTORAGE_INCLUDE_SQLITESTORAGE_SQLITEDATABASE_H_ Definition: SQLiteDatabase.h:41
::std::string string
Definition: gtest-port.h:1097
std::unique_ptr< Transaction > beginTransaction()
static const std::string tableName
Definition: SmartScreenCaptionStateManagerTest.cpp:30
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: SQLiteDatabase.h:36
bool clearTable(const std::string &tableName)
bool dropTable(const std::string &tableName)
std::unique_ptr< SQLiteStatement > createStatement(const std::string &sqlString)
bool tableExists(const std::string &tableName)
bool performQuery(const std::string &sqlString)