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