Definition at line 56 of file pgsql.php.
◆ deleteOID()
MDB2_Driver_Native_pgsql::deleteOID |
( |
|
$OID | ) |
|
delete an OID
- Parameters
-
- Returns
- mixed MDB2_OK on success or MDB2 Error Object on failure public
Definition at line 68 of file pgsql.php.
References MDB2_Module_Common\getDBInstance(), PEAR\isError(), and MDB2_OK.
75 $connection = $db->getConnection();
80 if (!@pg_lo_unlink($connection, $OID)) {
81 return $db->raiseError(null, null, null,
82 'Unable to unlink OID: '.$OID, __FUNCTION__);
const MDB2_OK(!class_exists('PEAR'))
The method mapErrorCode in each MDB2_dbtype implementation maps native error codes to one of these...
& getDBInstance()
Get the instance of MDB2 associated with the module instance.
isError($data, $code=null)
Tell whether a value is a PEAR error.
The documentation for this class was generated from the following file:
- Services/Database/lib/PEAR/MDB2/Driver/Native/pgsql.php