ManaPHP\Db::isUnderTransaction PHP Méthode

isUnderTransaction() public méthode

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