original_string: public function lastInsertId($table = null, $column = null)
      {
          $row = null;
          if ($column && $this->columnCount()) {
              $row = $this->fetch(static::FETCH_TYPE_ASSOC);
          }
          if (isset($row[$column])) {
              return $row[$column];
          }
  
          return $this->_driver->lastInsertId($table, $column);
      }
code: public function lastInsertId($table = null, $column = null)
      {
          $row = null;
          if ($column && $this->columnCount()) {
              $row = $this->fetch(static::FETCH_TYPE_ASSOC);
          }
          if (isset($row[$column])) {
              return $row[$column];
          }
  
          return $this->_driver->lastInsertId($table, $column);
      }
code_tokens: public function lastInsertId ( $ table = null , $ column = null ) { $ row = null ; if ( $ column && $ this -> columnCount ( ) ) { $ row = $ this -> fetch ( static :: FETCH_TYPE_ASSOC ) ; } if ( isset ( $ row [ $ column ] ) ) { return $ row [ $ column ] ; } return $ this -> _driver -> lastInsertId ( $ table , $ column ) ; }
docstring: Returns the latest primary inserted using this statement.
  
  @param string|null $table table name or sequence to get last insert value from
  @param string|null $column the name of the column representing the primary key
  @return string|int
docstring_tokens: Returns the latest primary inserted using this statement .