reference/sqlite3/sqlite3/exec.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.exec" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>SQLite3::exec</refname>
...
...
@@ -9,13 +8,19 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
11
+
<methodsynopsis role="SQLite3">
13
12
<modifier>public</modifier> <type>bool</type><methodname>SQLite3::exec</methodname>
14
13
<methodparam><type>string</type><parameter>query</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
16
Executes a result-less query against a given database.
18
17
</para>
18
+
<note>
19
+
<simpara>
20
+
SQLite3 may need to create <link xlink:href="&url.sqlite.tempfiles;">temporary files</link>
21
+
during the execution of queries, so the respective directories may have to be writable.
22
+
</simpara>
23
+
</note>
19
24
</refsect1>
20
25

21
26
<refsect1 role="parameters">
...
...
@@ -53,7 +58,7 @@
53
58
<?php
54
59
$db = new SQLite3('mysqlitedb.db');
55
60

56
-
$db->exec('CREATE TABLE bar (bar STRING)');
61
+
$db->exec('CREATE TABLE bar (bar TEXT)');
57
62
?>
58
63
]]>
59
64
</programlisting>
...
...
@@ -62,7 +67,6 @@ $db->exec('CREATE TABLE bar (bar STRING)');
62
67
</refsect1>
63
68

64
69
</refentry>
65
-

66
70
<!-- Keep this comment at the end of the file
67
71
Local variables:
68
72
mode: sgml
69
73