function.oci-set-prefetch.html
来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 111 行
HTML
111 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Sets number of rows to be prefetched</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.oci-server-version.html">oci_server_version</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.oci-statement-type.html">oci_statement_type</a></div> <div class="up"><a href="ref.oci8.html">OCI8 Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.oci-set-prefetch" class="refentry"> <div class="refnamediv"> <h1 class="refname">oci_set_prefetch</h1> <p class="verinfo">(PHP 5, PECL oci8:1.1-1.2.4)</p><p class="refpurpose"><span class="refname">oci_set_prefetch</span> — <span class="dc-title">Sets number of rows to be prefetched</span></p> </div> <div class="refsect1 description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><b>oci_set_prefetch</b></b></span> ( <span class="methodparam"><span class="type">resource</span> <tt class="parameter">$statement</tt></span> , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$rows</tt></span> )</div> <p class="para rdfs-comment"> Sets the number of rows to be prefetched after successful call to <a href="function.oci-execute.html" class="function">oci_execute()</a>. </p> </div> <div class="refsect1 parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><i><tt class="parameter">statement</tt></i></span> <dd> <p class="para"> </p> </dd> </dt> <dt> <span class="term"><i><tt class="parameter">rows</tt></i></span> <dd> <p class="para"> </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns <b><tt>TRUE</tt></b> on success or <b><tt>FALSE</tt></b> on failure. </p> </div> <div class="refsect1 notes"> <h3 class="title">Notes</h3> <blockquote><p><b class="note">Note</b>: In PHP versions before 5.0.0 you must use <a href="function.ocisetprefetch.html" class="function">ocisetprefetch()</a> instead. This name still can be used, it was left as alias of <b>oci_set_prefetch()</b> for downwards compatability. This, however, is deprecated and not recommended. <br /> </p></blockquote> </div> <div class="refsect1 seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <a href="oci8.configuration.html#ini.oci8.default_prefetch" class="link">oci8_.default_prefetch</a> ini option </li> </ul> </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.oci-server-version.html">oci_server_version</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.oci-statement-type.html">oci_statement_type</a></div> <div class="up"><a href="ref.oci8.html">OCI8 Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?