reference/oci8/functions/oci-fetch-all.xml
d33a6756e7a94bc06164d2a97bb0a3ffa19e3471
...
...
@@ -12,9 +12,9 @@
12
12
<type>int</type><methodname>oci_fetch_all</methodname>
13
13
<methodparam><type>resource</type><parameter>statement</parameter></methodparam>
14
14
<methodparam><type>array</type><parameter role="reference">output</parameter></methodparam>
15
-
<methodparam choice="opt"><type>int</type><parameter>skip</parameter><initializer>0</initializer></methodparam>
16
-
<methodparam choice="opt"><type>int</type><parameter>maxrows</parameter><initializer>-1</initializer></methodparam>
17
-
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>OCI_FETCHSTATEMENT_BY_COLUMN</constant> + <constant>OCI_ASSOC</constant></initializer></methodparam>
15
+
<methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
16
+
<methodparam choice="opt"><type>int</type><parameter>limit</parameter><initializer>-1</initializer></methodparam>
17
+
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>OCI_FETCHSTATEMENT_BY_COLUMN | OCI_ASSOC</initializer></methodparam>
18
18
</methodsynopsis>
19
19
<para>
20
20
Fetches multiple rows from a query into a two-dimensional array.
...
...
@@ -53,7 +53,7 @@
53
53
</listitem>
54
54
</varlistentry>
55
55
<varlistentry>
56
-
<term><parameter>skip</parameter></term>
56
+
<term><parameter>offset</parameter></term>
57
57
<listitem>
58
58
<para>
59
59
The number of initial rows to discard when fetching the
...
...
@@ -63,11 +63,11 @@
63
63
</listitem>
64
64
</varlistentry>
65
65
<varlistentry>
66
-
<term><parameter>maxrows</parameter></term>
66
+
<term><parameter>limit</parameter></term>
67
67
<listitem>
68
68
<para>
69
69
The number of rows to return. The default is -1 meaning return
70
-
all the rows from <parameter>skip</parameter> + 1 onwards.
70
+
all the rows from <parameter>offset</parameter> + 1 onwards.
71
71
</para>
72
72
</listitem>
73
73
</varlistentry>
...
...
@@ -154,7 +154,7 @@
154
154
&reftitle.returnvalues;
155
155
<para>
156
156
Returns the number of rows in <parameter>output</parameter>, which
157
-
may be 0 or more, &return.falseforfailure;.
157
+
may be 0 or more.
158
158
</para>
159
159
</refsect1>
160
160

...
...
@@ -321,7 +321,7 @@ oci_close($conn);
321
321
&reftitle.notes;
322
322
<note>
323
323
<para>
324
-
Using <parameter>skip</parameter> is very inefficient. All the
324
+
Using <parameter>offset</parameter> is very inefficient. All the
325
325
rows to be skipped are included in the result set that is
326
326
returned from the database to PHP. They are then discarded. It
327
327
is more efficient to use SQL to restrict the offset and range of
...
...
@@ -363,7 +363,6 @@ oci_close($conn);
363
363
</refsect1>
364
364

365
365
</refentry>
366
-

367
366
<!-- Keep this comment at the end of the file
368
367
Local variables:
369
368
mode: sgml
...
...
@@ -384,4 +383,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
384
383
vim: et tw=78 syn=sgml
385
384
vi: ts=1 sw=1
386
385
-->
387
-

388
386