public function rollbackTransaction(): bool
    {
        if ($this->pdo === null) {
            $this->connect();
        }

        if ($this->pdo->inTransaction() === false) {
            return false;
        }

        return $this->pdo->rollBack();
    }
public function rollbackTransaction(): bool
    {
        if ($this->pdo === null) {
            $this->connect();
        }

        if ($this->pdo->inTransaction() === false) {
            return false;
        }

        return $this->pdo->rollBack();
    }
@throws DatabaseException

@return bool