2009年8月6日星期四

[fw-db] Union, Zend_Db_Table_Select and Zend_Db_Table_Rowset

Hi.

I want that scenario:

$select->union(array($select1, $select2));
$result = $something->fetchAll($select);

$result must be Zend_Db_Table_Rowset.

How do it easy way?

Is it posiible to have $select as Zend_Db_Table_Select and force it to
not render: "SELECT 'tablename'.*" and " FROM tablename"?

regards,

--
Paweł Chuchmała
pawel.chuchmala at gmail dot com

没有评论: