reference/pgsql/functions/pg-escape-string.xml
c2eca73ef79ebe78cebb34053e41b565af504c4f
...
...
@@ -13,7 +13,7 @@
13
13
&reftitle.description;
14
14
<methodsynopsis>
15
15
<type>string</type><methodname>pg_escape_string</methodname>
16
-
<methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
16
+
<methodparam choice="opt"><type>PgSql\Connection</type><parameter>connection</parameter></methodparam>
17
17
<methodparam><type>string</type><parameter>data</parameter></methodparam>
18
18
</methodsynopsis>
19
19
<para>
...
...
@@ -41,12 +41,7 @@
41
41
<varlistentry>
42
42
<term><parameter>connection</parameter></term>
43
43
<listitem>
44
-
<para>
45
-
PostgreSQL database connection resource. When
46
-
<parameter>connection</parameter> is not present, the default connection
47
-
is used. The default connection is the last connection made by
48
-
<function>pg_connect</function> or <function>pg_pconnect</function>.
49
-
</para>
44
+
&pgsql.parameter.connection-with-unspecified-default;
50
45
</listitem>
51
46
</varlistentry>
52
47
<varlistentry>
...
...
@@ -70,24 +65,19 @@
70
65

71
66
<refsect1 role="changelog">
72
67
&reftitle.changelog;
73
-
<para>
74
-
<informaltable>
75
-
<tgroup cols="2">
76
-
<thead>
77
-
<row>
78
-
<entry>&Version;</entry>
79
-
<entry>&Description;</entry>
80
-
</row>
81
-
</thead>
82
-
<tbody>
83
-
<row>
84
-
<entry>5.2.0</entry>
85
-
<entry><parameter>connection</parameter> added</entry>
86
-
</row>
87
-
</tbody>
88
-
</tgroup>
89
-
</informaltable>
90
-
</para>
68
+
<informaltable>
69
+
<tgroup cols="2">
70
+
<thead>
71
+
<row>
72
+
<entry>&Version;</entry>
73
+
<entry>&Description;</entry>
74
+
</row>
75
+
</thead>
76
+
<tbody>
77
+
&pgsql.changelog.connection-object;
78
+
</tbody>
79
+
</tgroup>
80
+
</informaltable>
91
81
</refsect1>
92
82

93
83
<refsect1 role="examples">
94
84