It doesn't look like there's any parameter substitution in Zend_Db_Select
's on clause.
It's highly annoying that I can't just do something like:
$select->joinLeft('st_line_item','st_line_item.order_id = st_order.id and st_line_item.status = ?')
So what's the idiomatic alternative that works within the fluent interface? I could do something like prepare the join clause on the outside but that's not the point.