mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-27 14:28:56 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
77 lines
2.2 KiB
XML
77 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
|
|
<section xml:id="pdo-odbc.constants" xmlns="http://docbook.org/ns/docbook">
|
|
&reftitle.constants;
|
|
&pdo.driver-constants;
|
|
<variablelist>
|
|
<varlistentry xml:id="pdo.constants.odbc-attr-use-cursor-library">
|
|
<term>
|
|
<constant>PDO::ODBC_ATTR_USE_CURSOR_LIBRARY</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
This option controls whether the ODBC cursor library is used. The ODBC cursor library
|
|
supports some advanced ODBC features (e.g. block scrollable cursors), which may not
|
|
be implemented by the driver. The following values are supported:
|
|
<itemizedlist>
|
|
<listitem>
|
|
<para>
|
|
<constant>PDO::ODBC_SQL_USE_IF_NEEDED</constant> (the default):
|
|
use the ODBC cursor library when needed.
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
<constant>PDO::ODBC_SQL_USE_DRIVER</constant>:
|
|
never use the ODBC cursor library.
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
<constant>PDO::ODBC_SQL_USE_ODBC</constant>:
|
|
always use the ODBC cursor library.
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="pdo.constants.odbc-attr-assume-utf8">
|
|
<term>
|
|
<constant>PDO::ODBC_ATTR_ASSUME_UTF8</constant>
|
|
(<type>bool</type>)
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Windows only. If &true;, UTF-16 encoded character data (<literal>CHAR</literal>,
|
|
<literal>VARCHAR</literal> and <literal>LONGVARCHAR</literal>) is converted to
|
|
UTF-8 when reading from or writing data to the database.
|
|
If &false; (the default), no character encoding conversion is done.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</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:"~/.phpdoc/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
|
|
-->
|