Try with Zend_Db::fetchAll(). Your method then, should look like this :
public function getBooksAuthors()
{
$select = $this->select()
->setIntegrityCheck(false)
->from(array('b' => 'books'), array('id'))
->join(array('a' => 'authors'), 'b.id = a.id_book', array('authors'=>new
Zend_Db_Expr('GROUP_CONCAT(author)')))
->group('b.id');
return $this->getAdapter()->fetchAll($select);
}

--
Regards,
Vladas Diržys


On Thu, Sep 17, 2009 at 16:06, aoohralex <aoohra...@gmail.com> wrote:

>
> hm....... it doesn't work for me:
> Specified column "author" is not in the row
> --
> View this message in context:
> http://www.nabble.com/HYDRATION-like-in-Doctrine-ORM-in-Symfony-Framework-tp25490065p25490884.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>

Reply via email to