TransactionHandle class
Wrapper for transaction operations.
Provides convenient methods to commit or rollback a transaction.
Example:
final txn = TransactionHandle(backend, txnId);
// ... perform operations ...
txn.commit();
Constructors
- TransactionHandle(OdbcConnectionBackend _backend, int _txnId)
- Creates a new TransactionHandle instance.
Properties
Methods
-
commit(
) → bool - Commits the transaction.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rollback(
) → bool - Rolls back the transaction.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited