postgresIsTransacting | 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.