#include <db_transaction.h>
Construction | |
| enum | Type { deferred, immediate, exclusive } |
| CL_DBTransaction () | |
| Constructs a database transaction. | |
| CL_DBTransaction (const CL_SharedPtr< CL_DBTransaction_Impl > &impl) | |
| Constructs a DBTransaction. | |
| ~CL_DBTransaction () | |
Public Member Functions | |
Attributes | |
| CL_DBTransactionProvider * | get_provider () |
| Returns the provider interface for this transaction. | |
Operations | |
| void | commit () |
| Commits the transaction. | |
| void | rollback () |
| Rolls the transaction back. | |
|
|
|
|
|
Constructs a database transaction.
|
|
|
Constructs a DBTransaction.
|
|
|
|
|
|
Commits the transaction.
|
|
|
Returns the provider interface for this transaction.
|
|
|
Rolls the transaction back.
|
1.4.6