ZF-5953: Support joining with multiple columns with joinUsing
Description
Currently, if you need to join on multiple columns, you cannot use joinUsing();
The join condition should accept an array of columns to join on.
SQL:
SELECT *
FROM table1
JOIN table2 USING (column1, column2)
Zend_Db_Select:
$select = $db->select()
->from('table1')
->joinUsing('table2', array('column1','column2'));
Originally suggested here: ZF-1845, but was only half implemented.
Comments
Posted by Adam Lundrigan (adamlundrigan) on 2012-05-12T01:37:06.000+0000
This issue still exists. Reproducing test case:
Posted by Adam Lundrigan (adamlundrigan) on 2012-05-30T13:30:02.000+0000
Fixed in trunk r24833