reference/pgsql/functions/pg-result-seek.xml
c2eca73ef79ebe78cebb34053e41b565af504c4f
...
...
@@ -4,19 +4,19 @@
4
4
<refentry xml:id="function.pg-result-seek" xmlns="http://docbook.org/ns/docbook">
5
5
<refnamediv>
6
6
<refname>pg_result_seek</refname>
7
-
<refpurpose>Set internal row offset in result resource</refpurpose>
7
+
<refpurpose>Set internal row offset in result instance</refpurpose>
8
8
</refnamediv>
9
9

10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
13
<type>bool</type><methodname>pg_result_seek</methodname>
14
-
<methodparam><type>resource</type><parameter>result</parameter></methodparam>
15
-
<methodparam><type>int</type><parameter>offset</parameter></methodparam>
14
+
<methodparam><type>PgSql\Result</type><parameter>result</parameter></methodparam>
15
+
<methodparam><type>int</type><parameter>row</parameter></methodparam>
16
16
</methodsynopsis>
17
17
<para>
18
18
<function>pg_result_seek</function> sets the internal row offset in
19
-
a result resource.
19
+
the <parameter>result</parameter> instance.
20
20
</para>
21
21
</refsect1>
22
22

...
...
@@ -27,18 +27,14 @@
27
27
<varlistentry>
28
28
<term><parameter>result</parameter></term>
29
29
<listitem>
30
-
<para>
31
-
PostgreSQL query result resource, returned by <function>pg_query</function>,
32
-
<function>pg_query_params</function> or <function>pg_execute</function>
33
-
(among others).
34
-
</para>
30
+
&pgsql.parameter.result;
35
31
</listitem>
36
32
</varlistentry>
37
33
<varlistentry>
38
-
<term><parameter>offset</parameter></term>
34
+
<term><parameter>row</parameter></term>
39
35
<listitem>
40
36
<para>
41
-
Row to move the internal offset to in the <parameter>result</parameter> resource.
37
+
Row to move the internal offset to in the <classname>PgSql\Result</classname> instance.
42
38
Rows are numbered starting from zero.
43
39
</para>
44
40
</listitem>
...
...
@@ -54,6 +50,23 @@
54
50
</para>
55
51
</refsect1>
56
52

53
+
<refsect1 role="changelog">
54
+
&reftitle.changelog;
55
+
<informaltable>
56
+
<tgroup cols="2">
57
+
<thead>
58
+
<row>
59
+
<entry>&Version;</entry>
60
+
<entry>&Description;</entry>
61
+
</row>
62
+
</thead>
63
+
<tbody>
64
+
&pgsql.changelog.result-object;
65
+
</tbody>
66
+
</tgroup>
67
+
</informaltable>
68
+
</refsect1>
69
+
57
70
<refsect1 role="examples">
58
71
&reftitle.examples;
59
72
<para>
...
...
@@ -95,7 +108,6 @@ $row = pg_fetch_row($result);
95
108
</para>
96
109
</refsect1>
97
110
</refentry>
98
-

99
111
<!-- Keep this comment at the end of the file
100
112
Local variables:
101
113
mode: sgml
102
114