reference/sqlite3/sqlite3/querysingle.xml
855bfee2f3db70d7dbb4c60c7c4a4efa567f1c60
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="sqlite3.querysingle" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>SQLite3::querySingle</refname>
...
...
@@ -9,10 +8,10 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
11
+
<methodsynopsis role="SQLite3">
13
12
<modifier>public</modifier> <type>mixed</type><methodname>SQLite3::querySingle</methodname>
14
13
<methodparam><type>string</type><parameter>query</parameter></methodparam>
15
-
<methodparam choice="opt"><type>bool</type><parameter>entire_row</parameter><initializer>false</initializer></methodparam>
14
+
<methodparam choice="opt"><type>bool</type><parameter>entireRow</parameter><initializer>&false;</initializer></methodparam>
16
15
</methodsynopsis>
17
16
<para>
18
17
Executes a query and returns a single result.
...
...
@@ -32,12 +31,12 @@
32
31
</listitem>
33
32
</varlistentry>
34
33
<varlistentry>
35
-
<term><parameter>entire_row</parameter></term>
34
+
<term><parameter>entireRow</parameter></term>
36
35
<listitem>
37
36
<para>
38
37
By default, <function>querySingle</function> returns the value of the
39
38
first column returned by the query. If
40
-
<parameter>entire_row</parameter> is &true;, then it returns an array
39
+
<parameter>entireRow</parameter> is &true;, then it returns an array
41
40
of the entire first row.
42
41
</para>
43
42
</listitem>
...
...
@@ -51,11 +50,11 @@
51
50
&reftitle.returnvalues;
52
51
<para>
53
52
Returns the value of the first column of results or an array of the entire
54
-
first row (if <parameter>entire_row</parameter> is &true;).
53
+
first row (if <parameter>entireRow</parameter> is &true;).
55
54
</para>
56
55
<para>
57
56
If the query is valid but no results are returned, then &null; will be
58
-
returned if <parameter>entire_row</parameter> is &false;, otherwise an
57
+
returned if <parameter>entireRow</parameter> is &false;, otherwise an
59
58
empty array is returned.
60
59
</para>
61
60
<para>
...
...
@@ -94,7 +93,6 @@ Array
94
93
</refsect1>
95
94

96
95
</refentry>
97
-

98
96
<!-- Keep this comment at the end of the file
99
97
Local variables:
100
98
mode: sgml
101
99