AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::storage::sqliteStorage::SQLiteDatabase::Transaction Class Reference

#include <SQLiteDatabase.h>

Public Member Functions

 ~Transaction ()
 
bool commit ()
 
bool rollback ()
 

Detailed Description

Class to manage SQL transaction lifecycle.

Constructor & Destructor Documentation

◆ ~Transaction()

alexaClientSDK::storage::sqliteStorage::SQLiteDatabase::Transaction::~Transaction ( )

Destructor

Member Function Documentation

◆ commit()

bool alexaClientSDK::storage::sqliteStorage::SQLiteDatabase::Transaction::commit ( )

Commits the current transaction.

Returns
true if commit was successful, false otherwise

◆ rollback()

bool alexaClientSDK::storage::sqliteStorage::SQLiteDatabase::Transaction::rollback ( )

Rolls back the current transaction.

Returns
true if rollback was successful, false otherwise

The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0