![]() |
fb-cpp 0.0.2
A modern C++ wrapper for the Firebird database API
|
Represents options used when creating a Transaction object. More...
#include <Transaction.h>
Public Member Functions | |
| const std::vector< std::uint8_t > & | getTpb () const |
| Returns the TPB (Transaction Parameter Block) which will be used to start the transaction. | |
| TransactionOptions & | setTpb (const std::vector< std::uint8_t > &value) |
| Sets the TPB (Transaction Parameter Block) which will be used to start the transaction. | |
| TransactionOptions & | setTpb (std::vector< std::uint8_t > &&value) |
| Sets the TPB (Transaction Parameter Block) which will be used to start the transaction. | |
| const std::optional< TransactionIsolationLevel > | getIsolationLevel () const |
| Returns the transaction isolation level. | |
| TransactionOptions & | setIsolationLevel (TransactionIsolationLevel value) |
| Sets the transaction isolation level. | |
| const std::optional< TransactionReadCommittedMode > | getReadCommittedMode () const |
| Returns the read committed mode. | |
| TransactionOptions & | setReadCommittedMode (TransactionReadCommittedMode value) |
| Sets the read committed mode. | |
| const std::optional< TransactionAccessMode > | getAccessMode () const |
| Returns the transaction access mode. | |
| TransactionOptions & | setAccessMode (TransactionAccessMode value) |
| Sets the transaction access mode. | |
| const std::optional< TransactionWaitMode > | getWaitMode () const |
| Returns the transaction wait mode. | |
| TransactionOptions & | setWaitMode (TransactionWaitMode value) |
| Sets the transaction wait mode. | |
| bool | getNoAutoUndo () const |
| Returns whether the transaction will not automatically undo changes in case of a deadlock or update conflict. | |
| TransactionOptions & | setNoAutoUndo (bool value) |
| Sets whether the transaction will not automatically undo changes in case of a deadlock or update conflict. | |
| bool | getIgnoreLimbo () const |
| Returns whether the transaction will ignore limbo transactions. | |
| TransactionOptions & | setIgnoreLimbo (bool value) |
| Sets whether the transaction will ignore limbo transactions. | |
| bool | getRestartRequests () const |
| Returns whether the transaction will restart requests. | |
| TransactionOptions & | setRestartRequests (bool value) |
| Sets whether the transaction will restart requests. | |
| bool | getAutoCommit () const |
| Returns whether the transaction will be automatically committed. | |
| TransactionOptions & | setAutoCommit (bool value) |
| Sets whether the transaction will be automatically committed. | |
Represents options used when creating a Transaction object.
Definition at line 121 of file Transaction.h.
|
inline |
Returns the transaction access mode.
Definition at line 190 of file Transaction.h.
|
inline |
Returns whether the transaction will be automatically committed.
Definition at line 277 of file Transaction.h.
|
inline |
Returns whether the transaction will ignore limbo transactions.
Definition at line 243 of file Transaction.h.
|
inline |
Returns the transaction isolation level.
Definition at line 156 of file Transaction.h.
|
inline |
Returns whether the transaction will not automatically undo changes in case of a deadlock or update conflict.
Definition at line 225 of file Transaction.h.
|
inline |
Returns the read committed mode.
Definition at line 173 of file Transaction.h.
|
inline |
Returns whether the transaction will restart requests.
Definition at line 260 of file Transaction.h.
|
inline |
Returns the TPB (Transaction Parameter Block) which will be used to start the transaction.
Definition at line 128 of file Transaction.h.
|
inline |
Returns the transaction wait mode.
Definition at line 207 of file Transaction.h.
|
inline |
Sets the transaction access mode.
Definition at line 198 of file Transaction.h.
|
inline |
Sets whether the transaction will be automatically committed.
Definition at line 285 of file Transaction.h.
|
inline |
Sets whether the transaction will ignore limbo transactions.
Definition at line 251 of file Transaction.h.
|
inline |
Sets the transaction isolation level.
Definition at line 164 of file Transaction.h.
|
inline |
Sets whether the transaction will not automatically undo changes in case of a deadlock or update conflict.
Definition at line 234 of file Transaction.h.
|
inline |
Sets the read committed mode.
Definition at line 181 of file Transaction.h.
|
inline |
Sets whether the transaction will restart requests.
Definition at line 268 of file Transaction.h.
|
inline |
Sets the TPB (Transaction Parameter Block) which will be used to start the transaction.
Definition at line 137 of file Transaction.h.
|
inline |
Sets the TPB (Transaction Parameter Block) which will be used to start the transaction.
Definition at line 147 of file Transaction.h.
|
inline |
Sets the transaction wait mode.
Definition at line 215 of file Transaction.h.