Document fetch constants

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327081 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2012-08-12 17:45:56 +00:00
parent 7a5929d9dd
commit 81de01788d

View file

@ -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. <constant>PDO::FETCH_LAZY</constant> creates the object variable names as they are accessed.
Not valid inside <function>PDOStatement::fetchAll</function>.
</simpara>
</listitem>
</varlistentry>
@ -237,7 +238,8 @@
</term>
<listitem>
<simpara>
Allows completely customize the way data is treated on the fly (only
valid inside <function>PDOStatement::fetchAll</function>).
</simpara>
</listitem>
</varlistentry>
@ -248,7 +250,9 @@
</term>
<listitem>
<simpara>
Group return by values. Usually combined with
<constant>PDO::FETCH_COLUMN</constant> or
<constant>PDO::FETCH_KEY_PAIR</constant>.
</simpara>
</listitem>
</varlistentry>
@ -259,7 +263,7 @@
</term>
<listitem>
<simpara>
Fetch only the unique values.
</simpara>
</listitem>
</varlistentry>