original_string: public function exec(string $statement): int
      {
          if (null === $this->pdo) {
              $this->connect();
          }
  
          try {
              return $this->pdo->exec($statement);
          } catch (PDOException $pdoe) {
              throw new DatabaseException($pdoe->getMessage(), $pdoe);
          }
      }
code: public function exec(string $statement): int
      {
          if (null === $this->pdo) {
              $this->connect();
          }
  
          try {
              return $this->pdo->exec($statement);
          } catch (PDOException $pdoe) {
              throw new DatabaseException($pdoe->getMessage(), $pdoe);
          }
      }
code_tokens: public function exec ( string $ statement ) : int { if ( null === $ this -> pdo ) { $ this -> connect ( ) ; } try { return $ this -> pdo -> exec ( $ statement ) ; } catch ( PDOException $ pdoe ) { throw new DatabaseException ( $ pdoe -> getMessage ( ) , $ pdoe ) ; } }
docstring: execute an SQL statement and return the number of affected rows
  
  @param   string  $statement      the sql statement to execute d
  @return  int     number of effected rows
  @throws  \stubbles\db\DatabaseException
docstring_tokens: execute an SQL statement and return the number of affected rows