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

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

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

@return bool