#include <SQLiteConnection.h>
Public Member Functions | |
| ScopedTransaction (Connection *connect) | |
| void | Commit () |
| ScopedTransaction (const ScopedTransaction &other)=delete | |
| ScopedTransaction (ScopedTransaction &&other)=delete | |
| ScopedTransaction & | operator= (const ScopedTransaction &other)=delete |
A utility class to limit a transaction by scope unless you tell it to commit the transaction it will revert automatically if scope is lost for any reason