cvs: peardoc /en/package/database/db/db-common setfetchmode.xml

From: Date: Fri, 16 Apr 2004 05:58:03 +0000
Subject: cvs: peardoc /en/package/database/db/db-common setfetchmode.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-3524@lists.php.net to get a copy of this message
danielc Fri Apr 16 01:58:03 2004 EDT Modified files: /peardoc/en/package/database/db/db-common setfetchmode.xml Log: Clarify role of DB_FETCHMODE_FLIPPED constant. http://cvs.php.net/diff.php/peardoc/en/package/database/db/db-common/setfetchmode.xml?r1=1.22&r2=1.23&ty=u Index: peardoc/en/package/database/db/db-common/setfetchmode.xml diff -u peardoc/en/package/database/db/db-common/setfetchmode.xml:1.22 peardoc/en/package/database/db/db-common/setfetchmode.xml:1.23 --- peardoc/en/package/database/db/db-common/setfetchmode.xml:1.22 Thu Apr 15 21:12:28 2004 +++ peardoc/en/package/database/db/db-common/setfetchmode.xml Fri Apr 16 01:58:03 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.22 $ --> +<!-- $Revision: 1.23 $ --> <refentry id="package.database.db.db-common.setfetchmode"> <refnamediv> @@ -43,10 +43,24 @@ <para> <constant>DB_FETCHMODE_ORDERED</constant>, <constant>DB_FETCHMODE_ASSOC</constant> or - <constant>DB_FETCHMODE_OBJECT</constant> -- - all possibly bit-wise OR'ed with - <constant>DB_FETCHMODE_FLIPPED</constant> by using - <literal>|</literal>. See the + <constant>DB_FETCHMODE_OBJECT</constant>. + </para> + <para> + If you will be using + <link linkend="package.database.db.db-common.getcol"> + <function>getCol</function></link>, the + <constant>DB_FETCHMODE_ORDERED</constant> or + <constant>DB_FETCHMODE_ASSOC</constant> constants + can be combined with the + <constant>DB_FETCHMODE_FLIPPED</constant> constant + via the bitwise OR operator (<literal>|</literal>). + For example: + <programlisting> +DB_FETCHMODE_ASSOC | DB_FETCHMODE_FLIPPED + </programlisting> + </para> + <para> + See the <link linkend="package.database.db.db-common.setfetchmode.example"> Examples section</link>, below, for more information. </para>

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