note 73 deleted from Oracle functions by ronabop
| From: | ronabop@php.net | Date: | Sat, 26 Aug 2000 06:38:31 +0000 |
| Subject: | note 73 deleted from Oracle functions by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3384@lists.php.net to get a copy of this message | ||
The documentation is at the level of PHP2; several functions have been added to the Oracle module
since then. These have not been documented, yet. This note intends to be a temporary supplementary
documentation; it has been manually generated from the source of PHP3.0.2a.<p>
Missing are:<p>
<dl>
<dt><b>Ora_Do($conn, $query)</b></dt>
<dd>Ora_Do() is a shorthand function for the Ora_Parse(), Ora_Exec(), Ora_Fetch() sequence
that is found for many single queries.</dd>
<dt><b>Ora_FetchInto($curs, &$ary)</b></dt>
<dd>Ora_FetchInto is passed an array reference and fetches a whole result row into that array.
The function returns the number of columns in that row or false.</dd>
<dt><b>ora_columnsize($curs, $colindex)</b></dt>
<dd>The function returns the size of the type (see ora_columntype()) at the named column. The
column numbering starts at 0.</dd>
<dt><b>ora_numcols($curs)</b></dt>
<dd>Returns the number of columns in the result. The command only returns meaningful values
after an ora_parse()/ora_exec()/ora_fetch() sequence has been executed (ora_do() will work as
well).</dd>
<dt><b>ora_numrows($curs)</b></dt>
<dd>See above, only this one returns rows.</dd>
<dt><b>ora_plogon()</b></dt>
<dd>This function is identical to ora_login(), only that it will create a persistent
connection. Persistent connections are meaningful only with mod_php, not with CGI PHP. They can make
your mod_php database connects a lot of faster, but cost you memory. See the notes at
mysql_pconnect() for more information.</dd>
</dl>