2002-04-15 00:12:54 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2004-04-01 08:11:29 +00:00
|
|
|
<!-- $Revision: 1.3 $ -->
|
2004-03-08 14:12:17 +00:00
|
|
|
<refentry id="function.oci-set-prefetch">
|
2002-04-15 00:12:54 +00:00
|
|
|
<refnamediv>
|
2004-03-08 14:12:17 +00:00
|
|
|
<refname>oci_set_prefetch</refname>
|
2002-04-15 00:12:54 +00:00
|
|
|
<refpurpose>Sets number of rows to be prefetched</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
<methodsynopsis>
|
2004-03-08 14:12:17 +00:00
|
|
|
<type>bool</type><methodname>oci_set_prefetch</methodname>
|
|
|
|
<methodparam><type>resource</type><parameter>statement</parameter></methodparam>
|
2004-03-08 16:49:36 +00:00
|
|
|
<methodparam choice="opt"><type>int</type><parameter>rows</parameter></methodparam>
|
2002-04-15 00:12:54 +00:00
|
|
|
</methodsynopsis>
|
2004-03-08 14:12:17 +00:00
|
|
|
<para>
|
2004-03-08 16:49:36 +00:00
|
|
|
Sets the number of rows to be prefetched after successful call to
|
2004-03-08 14:12:17 +00:00
|
|
|
<function>oci_execute</function>. The default value for
|
|
|
|
<parameter>rows</parameter> is 1.
|
|
|
|
</para>
|
2004-04-01 08:11:29 +00:00
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
In PHP versions before 5.0.0 you must use <function>ocisetprefetch</function> instead.
|
|
|
|
This name still can be used, it was left as alias of
|
|
|
|
<function>oci_set_prefetch</function> for downwards compatability.
|
|
|
|
This, however, is deprecated and not recommended.
|
|
|
|
</para>
|
|
|
|
</note>
|
2004-03-08 14:12:17 +00:00
|
|
|
<para>
|
|
|
|
&return.success;
|
|
|
|
</para>
|
2002-04-15 00:12:54 +00:00
|
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|