svn: /phpdoc/en/trunk/reference/sqlite/functions/ sqlite-array-query.xml sqlite-query.xml sqlite-unbuffered-query.xml
| From: | Peter Cowburn | Date: | Tue, 17 May 2011 23:09:17 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/sqlite/functions/ sqlite-array-query.xml sqlite-query.xml sqlite-unbuffered-query.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8139@lists.php.net to get a copy of this message | ||
salathe Tue, 17 May 2011 23:09:17 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=311167
Log:
sqlite_*query() initializers (doc #54779 #54781 #54782)
Bugs: http://bugs.php.net/54779 (Open) Missing default value
for sqlite_array_query()
http://bugs.php.net/54781 (Open) Missing default value
for optional parameter in sqlite_query
http://bugs.php.net/54782 (Open) Missing default value
for optional parameter in sqlite_unbuffered_query
Changed paths:
U phpdoc/en/trunk/reference/sqlite/functions/sqlite-array-query.xml
U phpdoc/en/trunk/reference/sqlite/functions/sqlite-query.xml
U phpdoc/en/trunk/reference/sqlite/functions/sqlite-unbuffered-query.xml
Modified: phpdoc/en/trunk/reference/sqlite/functions/sqlite-array-query.xml
===================================================================
--- phpdoc/en/trunk/reference/sqlite/functions/sqlite-array-query.xml 2011-05-17 22:42:30 UTC (rev
311166)
+++ phpdoc/en/trunk/reference/sqlite/functions/sqlite-array-query.xml 2011-05-17 23:09:17 UTC (rev
311167)
@@ -13,15 +13,15 @@
<type>array</type><methodname>sqlite_array_query</methodname>
<methodparam><type>resource</type><parameter>dbhandle</parameter></methodparam>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>result_type</parameter></methodparam>
- <methodparam
choice="opt"><type>bool</type><parameter>decode_binary</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>result_type</parameter><initializer>SQLITE_BOTH</initializer></methodparam>
+ <methodparam
choice="opt"><type>bool</type><parameter>decode_binary</parameter><initializer>true</initializer></methodparam>
</methodsynopsis>
<methodsynopsis>
<type>array</type><methodname>sqlite_array_query</methodname>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
<methodparam><type>resource</type><parameter>dbhandle</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>result_type</parameter></methodparam>
- <methodparam
choice="opt"><type>bool</type><parameter>decode_binary</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>result_type</parameter><initializer>SQLITE_BOTH</initializer></methodparam>
+ <methodparam
choice="opt"><type>bool</type><parameter>decode_binary</parameter><initializer>true</initializer></methodparam>
</methodsynopsis>
<para>Object oriented style (method):</para>
<classsynopsis>
@@ -29,8 +29,8 @@
<methodsynopsis>
<type>array</type><methodname>arrayQuery</methodname>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>result_type</parameter></methodparam>
- <methodparam
choice="opt"><type>bool</type><parameter>decode_binary</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>result_type</parameter><initializer>SQLITE_BOTH</initializer></methodparam>
+ <methodparam
choice="opt"><type>bool</type><parameter>decode_binary</parameter><initializer>true</initializer></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
Modified: phpdoc/en/trunk/reference/sqlite/functions/sqlite-query.xml
===================================================================
--- phpdoc/en/trunk/reference/sqlite/functions/sqlite-query.xml 2011-05-17 22:42:30 UTC (rev 311166)
+++ phpdoc/en/trunk/reference/sqlite/functions/sqlite-query.xml 2011-05-17 23:09:17 UTC (rev 311167)
@@ -13,14 +13,14 @@
<type>resource</type><methodname>sqlite_query</methodname>
<methodparam><type>resource</type><parameter>dbhandle</parameter></methodparam>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>result_type</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>result_type</parameter><initializer>SQLITE_BOTH</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter
role="reference">error_msg</parameter></methodparam>
</methodsynopsis>
<methodsynopsis>
<type>resource</type><methodname>sqlite_query</methodname>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
<methodparam><type>resource</type><parameter>dbhandle</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>result_type</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>result_type</parameter><initializer>SQLITE_BOTH</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter
role="reference">error_msg</parameter></methodparam>
</methodsynopsis>
<para>Object oriented style (method):</para>
@@ -29,7 +29,7 @@
<methodsynopsis>
<type>SQLiteResult</type><methodname>query</methodname>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>result_type</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>result_type</parameter><initializer>SQLITE_BOTH</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter
role="reference">error_msg</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
Modified: phpdoc/en/trunk/reference/sqlite/functions/sqlite-unbuffered-query.xml
===================================================================
--- phpdoc/en/trunk/reference/sqlite/functions/sqlite-unbuffered-query.xml 2011-05-17 22:42:30 UTC
(rev 311166)
+++ phpdoc/en/trunk/reference/sqlite/functions/sqlite-unbuffered-query.xml 2011-05-17 23:09:17 UTC
(rev 311167)
@@ -13,14 +13,14 @@
<type>resource</type><methodname>sqlite_unbuffered_query</methodname>
<methodparam><type>resource</type><parameter>dbhandle</parameter></methodparam>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>result_type</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>result_type</parameter><initializer>SQLITE_BOTH</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter
role="reference">error_msg</parameter></methodparam>
</methodsynopsis>
<methodsynopsis>
<type>resource</type><methodname>sqlite_unbuffered_query</methodname>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
<methodparam><type>resource</type><parameter>dbhandle</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>result_type</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>result_type</parameter><initializer>SQLITE_BOTH</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter
role="reference">error_msg</parameter></methodparam>
</methodsynopsis>
<para>Object oriented style (method):</para>
@@ -29,7 +29,7 @@
<methodsynopsis>
<type>SQLiteUnbuffered</type><methodname>unbufferedQuery</methodname>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>result_type</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>result_type</parameter><initializer>SQLITE_BOTH</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter
role="reference">error_msg</parameter></methodparam>
</methodsynopsis>
</classsynopsis>