php-doc-en/reference/sqlite/ini.xml
Jakub Vrana 43ed9a3d9e Xmas typos 5/5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146902 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-19 15:50:07 +00:00

86 lines
2.4 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<section id="sqlite.configuration">
&reftitle.runtime;
&extension.runtime;
<para>
<table>
<title>SQLite Configuration Options</title>
<tgroup cols="3">
<thead>
<row>
<entry>Name</entry>
<entry>Default</entry>
<entry>Changeable</entry>
</row>
</thead>
<tbody>
<row>
<entry>sqlite.assoc_case</entry>
<entry>0</entry>
<entry>PHP_INI_ALL</entry>
</row>
</tbody>
</tgroup>
</table>
For further details and definition of the PHP_INI_* constants see
<function>ini_set</function>.
</para>
&ini.descriptions.title;
<para>
<variablelist>
<varlistentry id="ini.sqlite.assoc-case">
<term>
<parameter>sqlite.assoc_case</parameter>
<type>int</type>
</term>
<listitem>
<para>
Whether to use mixed case (<literal>0</literal>), upper case
(<literal>1</literal>) or lower case (<literal>2</literal>) hash
indexes.
</para>
<para>
This option is primarily useful when you need compatibility with other
database systems, where the names of the columns are always returned as
uppercase or lowercase, regardless of the case of the actual field names
in the database schema.
</para>
<para>
The SQLite library returns the column names in their natural case (that
matches the case you used in your schema). When
<parameter>sqlite.assoc_case</parameter> is set to <literal>0</literal>
the natural case will be preserved. When it is set to
<literal>1</literal> or <literal>2</literal>, PHP will apply case
folding on the hash keys to upper- or lower-case the keys, respectively.
</para>
<para>
Use of this option incurs a slight performance penalty, but is MUCH
faster than performing the case folding yourself using PHP script.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>
<!-- 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
sgml-default-dtd-file:"../../../manual.ced"
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
-->