cvs: peardoc /en/package/database/db/db-common getall.xml getassoc.xml getcol.xml

From: Date: Fri, 09 May 2003 08:08:27 +0000
Subject: cvs: peardoc /en/package/database/db/db-common getall.xml getassoc.xml getcol.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-762@lists.php.net to get a copy of this message
lsmith Fri May 9 04:08:27 2003 EDT Modified files: /peardoc/en/package/database/db/db-common getall.xml getassoc.xml getcol.xml Log: expanded the description to be more complete Index: peardoc/en/package/database/db/db-common/getall.xml diff -u peardoc/en/package/database/db/db-common/getall.xml:1.5 peardoc/en/package/database/db/db-common/getall.xml:1.6 --- peardoc/en/package/database/db/db-common/getall.xml:1.5 Fri May 9 03:57:37 2003 +++ peardoc/en/package/database/db/db-common/getall.xml Fri May 9 04:08:26 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="package.database.db.db-common.getall"> <refnamediv> <refname>DB_Common::getAll()</refname> @@ -27,8 +27,8 @@ <refsect1 id="package.database.db.db-common.getall.desc"> &title.desc; <para> - Fetch the first row of data returned from a query. The function takes - care of doing the query and freeing the results when finished. + Fetch the entire result set of a query into a nested array. The function takes + care of doing the query and freeing the results when finished. </para> </refsect1> <refsect1 id="package.database.db.db-common.getall.parameter"> Index: peardoc/en/package/database/db/db-common/getassoc.xml diff -u peardoc/en/package/database/db/db-common/getassoc.xml:1.5 peardoc/en/package/database/db/db-common/getassoc.xml:1.6 --- peardoc/en/package/database/db/db-common/getassoc.xml:1.5 Fri May 9 03:57:37 2003 +++ peardoc/en/package/database/db/db-common/getassoc.xml Fri May 9 04:08:26 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="package.database.db.db-common.getassoc"> <refnamediv> <refname>DB_Common::getAssoc()</refname> @@ -37,7 +37,8 @@ &title.desc; <para> Fetch the entire result set of a query and return it as an - associative array using the first column as the key. + associative array using the first column as the key. The function takes + care of doing the query and freeing the results when finished. If the result set contains more than two columns, the value will be an array of the values from column 2 to n. If the result Index: peardoc/en/package/database/db/db-common/getcol.xml diff -u peardoc/en/package/database/db/db-common/getcol.xml:1.5 peardoc/en/package/database/db/db-common/getcol.xml:1.6 --- peardoc/en/package/database/db/db-common/getcol.xml:1.5 Fri May 9 03:57:37 2003 +++ peardoc/en/package/database/db/db-common/getcol.xml Fri May 9 04:08:26 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="package.database.db.db-common.getcol"> <refnamediv> <refname>DB_Common::getCol()</refname> @@ -26,7 +26,8 @@ <refsect1 id="package.database.db.db-common.getcol.desc"> &title.desc; <para> - Fetch a single column from a result set + Fetch a single column from a result set of a query. The function takes + care of doing the query and freeing the results when finished. </para> </refsect1> <refsect1 id="package.database.db.db-common.getcol.parameter">

« previous php.pear.doc (#762) next »