reference/pgsql/functions/pg-num-fields.xml
c2eca73ef79ebe78cebb34053e41b565af504c4f
...
...
@@ -11,11 +11,11 @@
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
13
<type>int</type><methodname>pg_num_fields</methodname>
14
-
<methodparam><type>resource</type><parameter>result</parameter></methodparam>
14
+
<methodparam><type>PgSql\Result</type><parameter>result</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
<function>pg_num_fields</function> returns the number of fields
18
-
(columns) in a PostgreSQL result resource.
18
+
(columns) in the <classname>PgSql\Result</classname> instance.
19
19
</para>
20
20
<note>
21
21
<para>
...
...
@@ -31,11 +31,7 @@
31
31
<varlistentry>
32
32
<term><parameter>result</parameter></term>
33
33
<listitem>
34
-
<para>
35
-
PostgreSQL query result resource, returned by <function>pg_query</function>,
36
-
<function>pg_query_params</function> or <function>pg_execute</function>
37
-
(among others).
38
-
</para>
34
+
&pgsql.parameter.result;
39
35
</listitem>
40
36
</varlistentry>
41
37
</variablelist>
...
...
@@ -49,6 +45,23 @@
49
45
</para>
50
46
</refsect1>
51
47

48
+
<refsect1 role="changelog">
49
+
&reftitle.changelog;
50
+
<informaltable>
51
+
<tgroup cols="2">
52
+
<thead>
53
+
<row>
54
+
<entry>&Version;</entry>
55
+
<entry>&Description;</entry>
56
+
</row>
57
+
</thead>
58
+
<tbody>
59
+
&pgsql.changelog.result-object;
60
+
</tbody>
61
+
</tgroup>
62
+
</informaltable>
63
+
</refsect1>
64
+
52
65
<refsect1 role="examples">
53
66
&reftitle.examples;
54
67
<para>
55
68