How can I make a join with another Select Object? I need make a query like this
$select->join(array('alias' => $subSelect), 'on clause', 'array('*'), 'left');
Something like this was possible in ZF1.x.
In ZF2 first argument of join method is name of table or array with alias but i can't put there \Select. Even if i put here
$select->getSqlString($this->adapter->platform);
string is quoted, and query is not valid. Join doesn't add brackets too. It's really confusing.