ZF-2006: Zend_Db_Statement should have same fetch* methods as Zend_Db_Adapter_Abstract
Description
Zend_Db_Statement currently supports: fetchAll, fetchColumn, fetchObject
while Zend_Db_Adapter_Abstract: fetchAll, fetchAssoc, fetchCol, fetchPairs, fetchOne, fetchRow
The method names should be unified (ie fetchColumn and fetchCol) and all methods should exist in both classes. Currently it's counter-intuitive.
Comments
Posted by Thomas Weidner (thomas) on 2007-09-28T02:00:26.000+0000
Assigned to Bill
Posted by Wil Sinclair (wil) on 2008-03-25T20:43:58.000+0000
Please categorize/fix as needed.
Posted by Wil Sinclair (wil) on 2008-04-18T13:11:56.000+0000
This doesn't appear to have been fixed in 1.5.0. Please update if this is not correct.
Posted by Wil Sinclair (wil) on 2008-12-04T12:53:16.000+0000
Reassigning as Ralph is the maintainer of Zend_Db