cvs: peardoc /en/package/database/db intro-fetch.xml
| From: | Daniel Convissor | Date: | Fri, 16 Apr 2004 21:48:15 +0000 |
| Subject: | cvs: peardoc /en/package/database/db intro-fetch.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-3574@lists.php.net to get a copy of this message | ||
danielc Fri Apr 16 17:48:15 2004 EDT
Modified files:
/peardoc/en/package/database/db intro-fetch.xml
Log:
Add summary of get methods.
http://cvs.php.net/diff.php/peardoc/en/package/database/db/intro-fetch.xml?r1=1.35&r2=1.36&ty=u
Index: peardoc/en/package/database/db/intro-fetch.xml
diff -u peardoc/en/package/database/db/intro-fetch.xml:1.35
peardoc/en/package/database/db/intro-fetch.xml:1.36
--- peardoc/en/package/database/db/intro-fetch.xml:1.35 Fri Apr 16 17:22:26 2004
+++ peardoc/en/package/database/db/intro-fetch.xml Fri Apr 16 17:48:15 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.35 $ -->
+<!-- $Revision: 1.36 $ -->
<refentry id="package.database.db.intro-fetch">
<refnamediv>
@@ -205,6 +205,27 @@
</para>
</refsect2>
+ <refsect2 id="package.database.db.intro-fetch.desc.get">
+ <title>Getting Entire Result Sets</title>
+ <para>
+ The &class.db-common; object provides several
+ methods that make data retrieval easy by combining
+ taking the query string you provide and return
+ the information into various data structures.
+ These methods include
+ <link linkend="package.database.db.db-common.getone">
+ <function>getOne</function></link>,
+ <link linkend="package.database.db.db-common.getrow">
+ <function>getRow</function></link>,
+ <link linkend="package.database.db.db-common.getcol">
+ <function>getCol</function></link>,
+ <link linkend="package.database.db.db-common.getassoc">
+ <function>getAssoc</function></link> and
+ <link linkend="package.database.db.db-common.getall">
+ <function>getAll</function></link>.
+ </para>
+ </refsect2>
+
<refsect2 id="package.database.db.intro-fetch.desc.free">
<title>Freeing Result Sets</title>
<para>