reference/pgsql/functions/pg-execute.xml
c2eca73ef79ebe78cebb34053e41b565af504c4f
...
...
@@ -10,8 +10,8 @@
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
-
<type>resource</type><methodname>pg_execute</methodname>
14
-
<methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
13
+
<type class="union"><type>PgSql\Result</type><type>false</type></type><methodname>pg_execute</methodname>
14
+
<methodparam choice="opt"><type>PgSql\Connection</type><parameter>connection</parameter></methodparam>
15
15
<methodparam><type>string</type><parameter>stmtname</parameter></methodparam>
16
16
<methodparam><type>array</type><parameter>params</parameter></methodparam>
17
17
</methodsynopsis>
...
...
@@ -42,12 +42,7 @@
42
42
<varlistentry>
43
43
<term><parameter>connection</parameter></term>
44
44
<listitem>
45
-
<para>
46
-
PostgreSQL database connection resource. When
47
-
<parameter>connection</parameter> is not present, the default connection
48
-
is used. The default connection is the last connection made by
49
-
<function>pg_connect</function> or <function>pg_pconnect</function>.
50
-
</para>
45
+
&pgsql.parameter.connection-with-unspecified-default;
51
46
</listitem>
52
47
</varlistentry>
53
48
<varlistentry>
...
...
@@ -84,7 +79,26 @@
84
79
<refsect1 role="returnvalues">
85
80
&reftitle.returnvalues;
86
81
<para>
87
-
A query result resource on success&return.falseforfailure;.</para>
82
+
An <classname>PgSql\Result</classname> instance on success, &return.falseforfailure;.
83
+
</para>
84
+
</refsect1>
85
+

86
+
<refsect1 role="changelog">
87
+
&reftitle.changelog;
88
+
<informaltable>
89
+
<tgroup cols="2">
90
+
<thead>
91
+
<row>
92
+
<entry>&Version;</entry>
93
+
<entry>&Description;</entry>
94
+
</row>
95
+
</thead>
96
+
<tbody>
97
+
&pgsql.changelog.return-result-object;
98
+
&pgsql.changelog.connection-object;
99
+
</tbody>
100
+
</tgroup>
101
+
</informaltable>
88
102
</refsect1>
89
103
90
104
<refsect1 role="examples">
91
105