Re: MDB2 doc confusion
| From: | Martin Marques | Date: | Thu, 31 Aug 2006 15:43:34 +0000 |
| Subject: | Re: MDB2 doc confusion | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25029@lists.php.net to get a copy of this message | ||
On Thu, 31 Aug 2006, Lukas Kahwe Smith wrote:
Martin Marques wrote:Sorry. Just saw it. ;-) -- 21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18 ---------------------------------------------------------I passing from DB to MDB2, and there are somethings with which I'm a bit confussed. In PEAR::DB I used the getOne() method, which in the docs say it's defined in the MDB2_Extended module. Now, reading the code MDB2.php I found methods like queryOne() which does what I want (run the query and return the first element of the first row), but it's not documented.Not documented? Both are documented on the same page: http://pear.php.net/manual/en/package.database.mdb2.intro-fetch.php
Lic. Martín Marqués | SELECT 'mmarques' ||
Centro de Telemática | '@' || 'unl.edu.ar';
Universidad Nacional | DBA, Programador,
del Litoral | Administrador
---------------------------------------------------------