Connection.transactionStatus

Returns the current in-transaction status of the server. The status can be: * PQTRANS_IDLE - currently idle * PQTRANS_ACTIVE - a command is in progress (reported only when a query has been sent to the server and not yet completed) * PQTRANS_INTRANS - idle, in a valid transaction block * PQTRANS_INERROR - idle, in a failed transaction block * PQTRANS_UNKNOWN - reported if the connection is bad

class Connection
nothrow
PGTransactionStatusType
transactionStatus
()

Meta