From cf92e336abcd84593275c5d8317c415b4ba236a8 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Thu, 1 Oct 2020 11:30:01 +0000 Subject: [PATCH] Document PDO_ODBC driver specific options git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350737 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pdo_odbc/constants.xml | 77 ++++++++++++++++++++++++++++++++ reference/pdo_odbc/reference.xml | 4 +- 2 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 reference/pdo_odbc/constants.xml diff --git a/reference/pdo_odbc/constants.xml b/reference/pdo_odbc/constants.xml new file mode 100644 index 0000000000..06e4b1b751 --- /dev/null +++ b/reference/pdo_odbc/constants.xml @@ -0,0 +1,77 @@ + + + +
+ &reftitle.constants; + &pdo.driver-constants; + + + + PDO::ODBC_ATTR_USE_CURSOR_LIBRARY + (integer) + + + + 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: + + + + PDO::ODBC_SQL_USE_IF_NEEDED (the default): + use the ODBC cursor library when needed. + + + + + PDO::ODBC_SQL_USE_DRIVER: + never use the ODBC cursor library. + + + + + PDO::ODBC_SQL_USE_ODBC: + always use the ODBC cursor library. + + + + + + + + + PDO::ODBC_ATTR_ASSUME_UTF8 + (boolean) + + + + Windows only. If &true;, UTF-16 encoded character data (CHAR, + VARCHAR and LONGVARCHAR) is converted to + UTF-8 when reading from or writing data to the database. + If &false; (the default), no character encoding conversion is done. + + + + +
+ + diff --git a/reference/pdo_odbc/reference.xml b/reference/pdo_odbc/reference.xml index 4a22059683..739165a242 100644 --- a/reference/pdo_odbc/reference.xml +++ b/reference/pdo_odbc/reference.xml @@ -56,7 +56,9 @@ &reference.pdo-odbc.configure; - + + &reference.pdo-odbc.constants; + &reference.pdo-odbc.ini;