From 81de01788dc54e7908a8d941b75f931c38656e9f Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sun, 12 Aug 2012 17:45:56 +0000 Subject: [PATCH] Document fetch constants git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327081 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pdo/constants.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/reference/pdo/constants.xml b/reference/pdo/constants.xml index 8039f4d652..f3ae494648 100644 --- a/reference/pdo/constants.xml +++ b/reference/pdo/constants.xml @@ -101,6 +101,7 @@ Specifies that the fetch method shall return each row as an object with variable names that correspond to the column names returned in the result set. PDO::FETCH_LAZY creates the object variable names as they are accessed. + Not valid inside PDOStatement::fetchAll. @@ -237,7 +238,8 @@ - + Allows completely customize the way data is treated on the fly (only + valid inside PDOStatement::fetchAll). @@ -248,7 +250,9 @@ - + Group return by values. Usually combined with + PDO::FETCH_COLUMN or + PDO::FETCH_KEY_PAIR. @@ -259,7 +263,7 @@ - + Fetch only the unique values.