ManaPHP\Db::isUnderTransaction PHP Method

isUnderTransaction() public method

Checks whether the connection is under a transaction $connection->begin(); var_dump($connection->isUnderTransaction()); //true
public isUnderTransaction ( ) : boolean
return boolean
    public function isUnderTransaction()
    {
        return $this->_pdo->inTransaction();
    }