You are here

function DB_common::errorNative in Flickr API 5

Gets the DBMS' native error code produced by the last query

Return value

mixed the DBMS' error code. A DB_Error object on failure.

2 methods override DB_common::errorNative()
DB_mysql::errorNative in phpFlickr/PEAR/DB/mysql.php
Gets the DBMS' native error code produced by the last query
DB_pgsql::errorNative in phpFlickr/PEAR/DB/pgsql.php
Gets the DBMS' native error message produced by the last query

File

phpFlickr/PEAR/DB/common.php, line 1860

Class

DB_common
DB_common is the base class from which each database driver class extends

Code

function errorNative() {
  return $this
    ->raiseError(DB_ERROR_NOT_CAPABLE);
}