code: public function startTransaction(): bool
      {
          if ($this->pdo === null) {
              $this->connect();
          }
  
          return $this->pdo->beginTransaction();
      }
docs: @throws DatabaseException
  @throws PDOException
  
  @return bool