/**
  * Returns the error number from the last operation done on the database server.
  * @param resource $connection (optional)	The database server connection, for detailed description see the method query().
  * @return int								Returns the error number from the last database (operation, or 0 (zero) if no error occurred.
  */
 public static function errno($connection = null)
 {
     return self::use_default_connection($connection) ? mysqli::mysqli_errno() : mysqli::mysqli_errno($connection);
 }