Database independent query interface definition for PHP's Oracle 8 call-interface extension.
Definitely works with versions 8 and 9 of Oracle.
Located in /maintenance/libraries/pear/DB/oci8.php (line 41)
PEAR | --DB_common | --DB_oci8
stores the $data passed to execute() in the oci8 driver
Gets reset to array() when simpleQuery() is run.
Needed in case user wants to call numRows() after prepare/execute was used.
Inherited from DB_common
DB_common::$dbh
DB_common::$errorcode_map
DB_common::$features
DB_common::$fetchmode
DB_common::$fetchmode_object_class
DB_common::$last_query
DB_common::$options
DB_common::$prepared_queries
DB_common::$prepare_maxstmt
DB_common::$prepare_tokens
Gets the number of rows affected by the last query.
if the last query was a select, returns 0.
Enable/disable automatic commits
Commit transactions on the current connection
Connect to a database and log in as the specified user.
Creates a new sequence
Log out and disconnect from the database.
Deletes a sequence
Get the native error code of the last error (if any) that occured on the current connection. This does not work, as OCIError does not work unless given a statement. If OCIError does return something, so will this.
Executes a DB statement prepared with prepare().
Fetch a row and insert the data into an existing array.
Formating of the array and the data therein are configurable. See DB_result::fetchInto() for more information.
Free the internal resources associated with a prepared query.
Free the internal resources associated with $result.
Returns the query needed to get some backend info
Emulate the row limit support altering the query
Returns the next free id in a sequence
Move the internal oracle result pointer to the next available result
Get the number of columns in a result set.
Gather information about an error, then use that info to create a DB error object and finally return that object.
Prepares a query for multiple execution with execute().
With oci8, this is emulated.
prepare() requires a generic query as string like
. The ? characters are placeholders.
- INSERT INTO numbers VALUES (?, ?, ?)
Three types of placeholders can be used:
- "UPDATE foo SET col=? WHERE col='over \& under'"
Roll back all uncommitted transactions on the current connection.
Send a query to oracle and return the results as an oci8 resource identifier.
Returns information about a table or a result set.
NOTE: only supports 'table' and 'flags' if $result is a table name.
NOTE: flags won't contain index information.
Inherited From DB_common
DB_common::DB_common()
DB_common::affectedRows()
DB_common::autoCommit()
DB_common::autoExecute()
DB_common::autoPrepare()
DB_common::buildManipSQL()
DB_common::commit()
DB_common::createSequence()
DB_common::dropSequence()
DB_common::errorCode()
DB_common::errorMessage()
DB_common::errorNative()
DB_common::escapeSimple()
DB_common::execute()
DB_common::executeEmulateQuery()
DB_common::executeMultiple()
DB_common::freePrepared()
DB_common::getAll()
DB_common::getAssoc()
DB_common::getCol()
DB_common::getListOf()
DB_common::getOne()
DB_common::getOption()
DB_common::getRow()
DB_common::getSequenceName()
DB_common::getSpecialQuery()
DB_common::getTables()
DB_common::limitQuery()
DB_common::modifyLimitQuery()
DB_common::modifyQuery()
DB_common::nextId()
DB_common::numRows()
DB_common::prepare()
DB_common::provides()
DB_common::query()
DB_common::quote()
DB_common::quoteIdentifier()
DB_common::quoteSmart()
DB_common::quoteString()
DB_common::raiseError()
DB_common::rollback()
DB_common::setFetchMode()
DB_common::setOption()
DB_common::tableInfo()
DB_common::toString()
DB_common::_convertNullArrayValuesToEmpty()
DB_common::_rtrimArrayValues()
Documentation generated on Fri, 10 Dec 2004 18:25:56 +0000 by phpDocumentor 1.3.0RC3