postgresIsTransacting: Return whether a transaction is ongoing
Description
Detect whether the transaction is active for the given connection. A
transaction might be started with dbBegin()
or wrapped within
DBI::dbWithTransaction()
.
Usage
postgresIsTransacting(conn)
Value
A boolean, indicating if a transaction is ongoing.