MDB2 doc confusion
| From: | Martin Marques | Date: | Thu, 31 Aug 2006 14:44:05 +0000 |
| Subject: | MDB2 doc confusion | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-25027@lists.php.net to get a copy of this message | ||
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.
Should I use queryOne() or try the Extended module?
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
---------------------------------------------------------
Lic. Martín Marqués | SELECT 'mmarques' ||
Centro de Telemática | '@' || 'unl.edu.ar';
Universidad Nacional | DBA, Programador,
del Litoral | Administrador
---------------------------------------------------------