cvs: peardoc /en/package/database/db intro-fetch.xml
| From: | Daniel Convissor | Date: | Wed, 28 Apr 2004 04:54:45 +0000 |
| Subject: | cvs: peardoc /en/package/database/db intro-fetch.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-3750@lists.php.net to get a copy of this message | ||
danielc Wed Apr 28 00:54:45 2004 EDT
Modified files:
/peardoc/en/package/database/db intro-fetch.xml
Log:
Clarify text.
http://cvs.php.net/diff.php/peardoc/en/package/database/db/intro-fetch.xml?r1=1.39&r2=1.40&ty=u
Index: peardoc/en/package/database/db/intro-fetch.xml
diff -u peardoc/en/package/database/db/intro-fetch.xml:1.39
peardoc/en/package/database/db/intro-fetch.xml:1.40
--- peardoc/en/package/database/db/intro-fetch.xml:1.39 Sun Apr 18 11:44:42 2004
+++ peardoc/en/package/database/db/intro-fetch.xml Wed Apr 28 00:54:44 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.39 $ -->
+<!-- $Revision: 1.40 $ -->
<refentry id="package.database.db.intro-fetch">
<refnamediv>
@@ -208,9 +208,9 @@
<para>
The &class.db-common; object provides several
methods that make data retrieval easy by combining
- the processes of running of the query string you provide
- and putting the returned information into a
- PHP data structure. These methods include
+ the processes of running of the query string you provide,
+ putting the returned information into a PHP data
+ structure and freeing the results. These methods include
<link linkend="package.database.db.db-common.getone">
<function>getOne</function></link>,
<link linkend="package.database.db.db-common.getrow">
@@ -227,10 +227,11 @@
<refsect2 id="package.database.db.intro-fetch.desc.free">
<title>Freeing Result Sets</title>
<para>
- It is recommended to finish the result set after processing in
- order to save memory.
+ Once you finish using a result set, if your script
+ continues for a while, it's a good idea to save
+ memory by freeing the result set via
Use <link linkend="package.database.db.db-result.free">
- <function>free</function></link> to do this.
+ <function>free</function></link>.
<example>
<title>Freeing</title>
<programlisting role="php">
@@ -253,7 +254,7 @@
<title>Getting More Information From Query Results</title>
<para>
With &class.db; you have many ways to retrieve useful information
- from query results. These are:
+ about the query result sets themselves. These are:
<itemizedlist>
<listitem>
<para>