ZF-2006: Zend_Db_Statement should have same fetch* methods as Zend_Db_Adapter_Abstract

Issue Type: Improvement Created: 2007-09-28T01:29:34.000+0000 Last Updated: 2012-08-31T09:11:30.000+0000 Status: Open Fix version(s): Reporter: Artur Jedlinski (nataniel) Assignee: Ralph Schindler (ralph) Tags: - Zend_Db

Related issues: - ZF-3355



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.


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

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.