Alexander Netkachev пишет:
It seems that ZF 0.8 adds `...` for field names so that makes impossible
using of 'u.user_surname' constructions.
I think that $select->joinLeft(array('users' => 'u'), ...) ); should be
available soon.


Thanks, it's work fine in last ZF snapshot .

And little question : how now create alias for table column ?

If i write :

$select->joinLeft( array('users'=>'e'), 'j.journal_execute_id = e.user_id', array('user_surname AS execute_surname') );

get MySQL error : Unknown column 'e.user_surname AS execute_surname' in 'field list'" , because ZF quote field name.




Reply via email to