Tx
class Tx(rt: <Error class: unknown class><out <Error class: unknown class>>, tx: <Error class: unknown class><out <Error class: unknown class>>) : Transaction(source)
Represents a specific implementation of the Transaction
interface. This class facilitates the management of database transactions, including methods to commit, roll back, execute queries, and fetch results.
Transactions in this class are thread-safe, ensuring consistent access to transaction operations through the usage of a Mutex.
This implementation ensures that transactional queries and operations are properly committed or rolled back, and verifies the transactional state before allowing execution.
Parameters
tx
A pointer to the transaction object in memory used for transactional operations.