PDO :: inTransaction
PDO :: inTransaction - checks whether a transaction (PHP 5> = 5.3.3, Bundled pdo_pgsql)
Explanation
grammar
bool PDO::inTransaction ( void )
Check whether a transaction is currently active in the drive. This method is only transactional database-driven work.
parameter
This function has no parameters.
return value
If the current transaction is active, it returns TRUE, otherwise returns FALSE.