-- Alexander Netkachev <[EMAIL PROTECTED]> wrote
(on Friday, 09 March 2007, 01:08 AM +0200):
> 
> On 3/8/07, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote:
> 
>     -- Ian Warner <[EMAIL PROTECTED]> wrote
>     (on Thursday, 08 March 2007, 05:56 PM -0000):
>     > That would be why then :)
>     >
>     > Been pulling my hair out for quite a while to solve this.
>     >
>     > So it is basically not possible to do a COUNT(*) etc or any 
> functionality
>     > with the column selects
> 
>     Well, it is possible, just not using the class's find() and fetchAll()
>     methods.
> 
>     I have methods like the following in many of my Zend_Db_Table classes:
> 
>         public function fetchInfo($id)
>         {
>             $select = $this->select();
> 
> 
> BTW, where did you get select()? Zend_Db_Table does not have this method in
> HEAD.

My bad -- should have been $this->getAdapter()->select();

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to