|
fb-cpp 0.0.1
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 86 of file Transaction.h.
|
inline |
Returns the transaction access mode.
Definition at line 155 of file Transaction.h.
|
inline |
Returns whether the transaction will be automatically committed.
Definition at line 242 of file Transaction.h.
|
inline |
Returns whether the transaction will ignore limbo transactions.
Definition at line 208 of file Transaction.h.
|
inline |
Returns the transaction isolation level.
Definition at line 121 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 190 of file Transaction.h.
|
inline |
Returns the read committed mode.
Definition at line 138 of file Transaction.h.
|
inline |
Returns whether the transaction will restart requests.
Definition at line 225 of file Transaction.h.
|
inline |
Returns the TPB (Transaction Parameter Block) which will be used to start the transaction.
Definition at line 93 of file Transaction.h.
|
inline |
Returns the transaction wait mode.
Definition at line 172 of file Transaction.h.
|
inline |
Sets the transaction access mode.
Definition at line 163 of file Transaction.h.
|
inline |
Sets whether the transaction will be automatically committed.
Definition at line 250 of file Transaction.h.
|
inline |
Sets whether the transaction will ignore limbo transactions.
Definition at line 216 of file Transaction.h.
|
inline |
Sets the transaction isolation level.
Definition at line 129 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 199 of file Transaction.h.
|
inline |
Sets the read committed mode.
Definition at line 146 of file Transaction.h.
|
inline |
Sets whether the transaction will restart requests.
Definition at line 233 of file Transaction.h.
|
inline |
Sets the TPB (Transaction Parameter Block) which will be used to start the transaction.
Definition at line 102 of file Transaction.h.
|
inline |
Sets the TPB (Transaction Parameter Block) which will be used to start the transaction.
Definition at line 112 of file Transaction.h.
|
inline |
Sets the transaction wait mode.
Definition at line 180 of file Transaction.h.