ZF-12169: Error when use joinLeftUsing method and alias table name

Issue Type: Bug Created: 2012-04-24T13:23:23.000+0000 Last Updated: 2012-04-24T13:23:23.000+0000 Status: Open Fix version(s): Reporter: Bruno Pitteli Gonçalves (scorninpc) Assignee: Ralph Schindler (ralph) Tags: - Zend_Db_Select

Related issues: Attachments:


When I use joinLeftUsing() method, and set alias to the table, I get wrong select.

-- SELECT CREATE $select = $model->select() ->from(array('T01' => "receitas"), array("*")) ->joinLeftUsing(array('T02' => "produtos_receitas"), "idreceita", array());

-- SELECT OUT SELECT T01.* FROM receitas AS T01 LEFT JOIN produtos_receitas AS T02 ON produtos_receitas.idreceita = T01.idreceita


No comments to display

Have you found an issue?

See the Overview section for more details.


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

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