[prev in list] [next in list] [prev in thread] [next in thread]
List: pear-doc
Subject: [PEAR-DOC] cvs: peardoc /en/package/database/mdb2 intro-fetch.xml
From: "Lukas Smith" <lsmith () php ! net>
Date: 2006-09-26 8:49:44
Message-ID: cvslsmith1159260584 () cvsserver
[Download RAW message or body]
lsmith Tue Sep 26 08:49:44 2006 UTC
Modified files:
/peardoc/en/package/database/mdb2 intro-fetch.xml
Log:
- replaced redundant paragraph with an explantion for fetchAll() and fetchCol() \
(Doc Bug #8762)
http://cvs.php.net/viewvc.cgi/peardoc/en/package/database/mdb2/intro-fetch.xml?r1=1.21&r2=1.22&diff_format=u
Index: peardoc/en/package/database/mdb2/intro-fetch.xml
diff -u peardoc/en/package/database/mdb2/intro-fetch.xml:1.21 \
peardoc/en/package/database/mdb2/intro-fetch.xml:1.22
--- peardoc/en/package/database/mdb2/intro-fetch.xml:1.21 Tue Sep 26 08:44:35 2006
+++ peardoc/en/package/database/mdb2/intro-fetch.xml Tue Sep 26 08:49:44 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.21 $ -->
+<!-- $Revision: 1.22 $ -->
<!--
@@ -33,15 +33,15 @@
</para>
<para>
<function>fetchRow</function> and <function>fetchOne</function> read an
- entire row or a single column respectively. The result pointer gets moved to
- the next row each time these methods are called. &null; is returned
- when the end of the result set is reached.
+ entire row or a single field from a column respectively. The result pointer
+ gets moved to the next row each time these methods are called. &null; is
+ returned when the end of the result set is reached.
</para>
<para>
- <function>fetchRow</function> reads an entire row as an array and
- <function>fetchOne</function> reads an single column into a scalar.
- The result pointer gets moved to the next row each time these methods are
- called. &null; is returned when the end of the result set is reached.
+ <function>fetchAll</function> and <function>fetchCol</function> read all
+ rows in the result set and therefore move the result pointer to the end.
+ While <function>fetchAll</function> reads the entire row data,
+ <function>fetchCol</function> only reads a single column.
</para>
<para>
MDB2_Error is returned if an error is encountered.
--
PEAR Documentation List Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic