2010-03-28 22:10:10 +00:00
<?xml version="1.0" encoding="utf-8"?>
2009-07-11 09:02:41 +00:00
<!-- $Revision$ -->
2005-09-04 19:39:32 +00:00
2007-06-20 22:25:43 +00:00
<reference xml:id= "ref.sqlite" xmlns= "http://docbook.org/ns/docbook" xmlns:xlink= "http://www.w3.org/1999/xlink" >
2007-12-21 18:01:02 +00:00
<title > SQLite &Functions; </title>
2003-06-20 18:26:30 +00:00
2003-06-20 17:31:55 +00:00
<partintro >
2007-12-21 18:01:02 +00:00
<!-- FIXME: Remove this section -->
2007-06-20 22:25:43 +00:00
<section xml:id= "sqlite.classes" >
2005-01-12 08:56:59 +00:00
&reftitle.classes;
2007-06-20 22:25:43 +00:00
<section xml:id= "sqlite.class.sqlitedatabase" >
2005-01-12 08:56:59 +00:00
<title > <classname > SQLiteDatabase</classname> </title>
2009-08-08 09:23:40 +00:00
<simpara >
2005-01-12 08:56:59 +00:00
Represents an opened SQLite database.
2009-08-08 09:23:40 +00:00
</simpara>
2007-06-20 22:25:43 +00:00
<section xml:id= 'sqlite.class.sqlitedatabase.constructor' >
2005-01-12 08:56:59 +00:00
&reftitle.constructor;
<itemizedlist >
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-open' > __construct</link> - construct a new SQLiteDatabase object</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
</itemizedlist>
</section>
2007-06-20 22:25:43 +00:00
<section xml:id= 'sqlite.class.sqlitedatabase.methods' >
2005-01-12 08:56:59 +00:00
&reftitle.methods;
<itemizedlist >
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-query' > query</link> - Execute a query</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-exec' > queryExec</link> - Execute a result-less query</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-array-query' > arrayQuery</link> - Execute a query and return the result as an array</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-single-query' > singleQuery</link> - Execute a query and return either an array for one single column or the value of the first row</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-unbuffered-query' > unbufferedQuery</link> - Execute an unbuffered query</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-last-insert-rowid' > lastInsertRowid</link> - Returns the rowid of the most recently inserted row</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-changes' > changes</link> - Returns the number of rows changed by the most recent statement</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-create-aggregate' > createAggregate</link> - Register an aggregating UDF for use in SQL statements</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-create-function' > createFunction</link> - Register a UDF for use in SQL statements</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-busy-timeout' > busyTimeout</link> - Sets or disables busy timeout duration</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-last-error' > lastError</link> - Returns the last error code of the most recently encountered error</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-fetch-column-types' > fetchColumnTypes</link> - Return an array of column types from a particular table</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
</itemizedlist>
</section>
</section>
2007-06-20 22:25:43 +00:00
<section xml:id= "sqlite.class.sqliteresult" >
2005-01-12 08:56:59 +00:00
<title > <classname > SQLiteResult</classname> </title>
2009-08-08 09:23:40 +00:00
<simpara >
2005-01-12 08:56:59 +00:00
Represents a buffered SQLite result set.
2009-08-08 09:23:40 +00:00
</simpara>
2007-06-20 22:25:43 +00:00
<section xml:id= 'sqlite.class.sqliteresult.methods' >
2005-01-12 08:56:59 +00:00
&reftitle.methods;
<itemizedlist >
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-fetch-array' > fetch</link> - Fetches the next row from the result set as an array</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-fetch-object' > fetchObject</link> - Fetches the next row from the result set as an object</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-fetch-single' > fetchSingle</link> - Fetches the first column from the result set as a string</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-fetch-all' > fetchAll</link> - Fetches all rows from the result set as an array of arrays</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-column' > column</link> - Fetches a column from the current row of the result set</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-num-fields' > numFields</link> - Returns the number of fields in the result set</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-field-name' > fieldName</link> - Returns the name of a particular field in the result set</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-current' > current</link> - Fetches the current row from the result set as an array</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-key' > key</link> - Return the current row index</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-next' > next</link> - Seek to the next row number</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-valid' > valid</link> - Returns whether more rows are available</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-rewind' > rewind</link> - Seek to the first row number of the result set</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-prev' > prev</link> - Seek to the previous row number of the result set</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-has-prev' > hasPrev</link> - Returns whether or not a previous row is available</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-num-rows' > numRows</link> - Returns the number of rows in the result set</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-seek' > seek</link> - Seek to a particular row number</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
</itemizedlist>
</section>
</section>
2007-06-20 22:25:43 +00:00
<section xml:id= "sqlite.class.sqliteunbuffered" >
2005-01-12 08:56:59 +00:00
<title > <classname > SQLiteUnbuffered</classname> </title>
2009-08-08 09:23:40 +00:00
<simpara >
2005-02-14 04:13:17 +00:00
Represents an unbuffered SQLite result set. Unbuffered results sets are sequential, forward-seeking only.
2009-08-08 09:23:40 +00:00
</simpara>
2007-06-20 22:25:43 +00:00
<section xml:id= 'sqlite.class.sqliteunbuffered.methods' >
2005-01-12 08:56:59 +00:00
&reftitle.methods;
<itemizedlist >
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-fetch-array' > fetch</link> - Fetches the next row from the result set as an array</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-fetch-object' > fetchObject</link> - Fetches the next row from the result set as an object</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-fetch-single' > fetchSingle</link> - Fetches the first column from the result set as a string</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-fetch-all' > fetchAll</link> - Fetches all rows from the result set as an array of arrays</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-column' > column</link> - Fetches a column from the current row of the result set</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-num-fields' > numFields</link> - Returns the number of fields in the result set</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-field-name' > fieldName</link> - Returns the name of a particular field in the result set</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-current' > current</link> - Fetches the current row from the result set as an array</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-next' > next</link> - Seek to the next row number</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
<listitem >
2009-08-08 09:23:40 +00:00
<simpara > <link linkend= 'function.sqlite-valid' > valid</link> - Returns whether more rows are available</simpara>
2005-01-12 08:56:59 +00:00
</listitem>
</itemizedlist>
</section>
</section>
</section>
2003-06-20 18:26:30 +00:00
</partintro>
2004-08-03 17:25:34 +00:00
2007-12-10 17:06:11 +00:00
&reference.sqlite.entities.functions;
2003-06-20 17:31:55 +00:00
2003-06-20 18:26:30 +00:00
</reference>
2003-06-20 17:31:55 +00:00
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
2009-09-25 07:04:39 +00:00
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
2003-06-20 17:31:55 +00:00
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->