diff --git a/reference/pdo/constants.xml b/reference/pdo/constants.xml index 767fb2865b..8776e35a27 100644 --- a/reference/pdo/constants.xml +++ b/reference/pdo/constants.xml @@ -1,5 +1,5 @@ - +
&reftitle.constants; @@ -94,7 +94,23 @@ Specifies that the fetch method shall return each row as an array indexed - by column name as returned in the corresponding result set. + by column name as returned in the corresponding result set. If the result + set contains multiple columns with the same name, PDO_FETCH_ASSOC returns + only a single value per column name. + + + + + + PDO_FETCH_NAMED + (integer) + + + + Specifies that the fetch method shall return each row as an array indexed + by column name as returned in the corresponding result set. If the result + set contains multiple columns with the same name, PDO_FETCH_NAMED returns + an array of values per column name. @@ -238,7 +254,8 @@ - + If this value is &false;, PDO attempts to disable autocommit so that the + connection begins a transaction. @@ -260,7 +277,7 @@ - + Sets the timeout value in seconds for communications with the database. @@ -360,7 +377,7 @@ - + Convert empty strings to SQL NULL values. @@ -370,8 +387,34 @@ (integer) - - + + Request a persistent connection, rather than creating a new connection. + + + + + + PDO_ATTR_FETCH_CATALOG_NAMES + (integer) + + + + Prepend the containing catalog name to each column name returned in the + result set. The catalog name and column name are separated by a decimal + (.) character. + + + + + + PDO_ATTR_FETCH_TABLE_NAMES + (integer) + + + + Prepend the containing table name to each column name returned in the + result set. The table name and column name are separated by a decimal (.) + character. @@ -382,7 +425,8 @@ - + Do not raise an error or exception if an error occurs. The developer is + expected to explicitly check for errors. @@ -393,7 +437,7 @@ - + Issue a PHP E_WARNING message if an error occurs. @@ -404,7 +448,7 @@ - + Throw a PDOException if an error occurs.