postgresIsTransacting {RPostgres} | R Documentation |
Detect whether the transaction is active for the given connection. A
transaction might be started with dbBegin()
or wrapped within
DBI::dbWithTransaction()
.
postgresIsTransacting(conn)
conn |
a PqConnection object, produced by
|
A boolean, indicating if a transaction is ongoing.