/**
  * Fetches the SQLSTATE associated with the last database operation.
  *
  * @return integer The last error code.
  */
 public function errorCode()
 {
     $this->connect();
     return $this->_conn->errorCode();
 }