Beispiel #1
0
 /**
  * Get the last sql-error.
  *
  * @return string false on error
  */
 public function lastError()
 {
     $errors = $this->_debug->getErrors();
     return count($errors) > 0 ? end($errors) : false;
 }