ZF-7045: Refactor building of the count query into its own method in the DbSelect adapter

Issue Type: Improvement Created: 2009-06-18T17:39:33.000+0000 Last Updated: 2009-06-18T17:45:08.000+0000 Status: Resolved Fix version(s): - 1.8.4 (23/Jun/09)

Reporter: Jurrien Stutterheim (norm2782) Assignee: Jurrien Stutterheim (norm2782) Tags: - Zend_Paginator

Related issues: Attachments:


The construction of the COUNT query in Paginator's DbSelect adapter should be moved into its own method, called getCountSelect(). This makes the code more readable and the generated queries easier to test.


Posted by Jurrien Stutterheim (norm2782) on 2009-06-18T17:45:05.000+0000

Resolved in r16146 and merged to release-1.8 in r16147

Have you found an issue?

See the Overview section for more details.


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

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