1
我有一個簡單的網格在我的Zend框架應用程序:Zend框架和Cubique網 - LEFT OUTER JOIN
$grid = new Cubique_Grid('user');
$grid->setTable('user')
->setColumns(array(
'name' => 'Name',
'interests' => 'Interests'
))
->setDefaultOrder('name')
->setColumnsToSort(array('name', 'interests'))
->setColumnsToEscape(array('name', 'interests'))
->setColumnsToSearch(array('name', 'interests'))
->setJoin('interest', 'interest', 'interest_id', 'id', 'name')
->logErrors(APPLICATION_PATH . '/logs/cubique');
而且我在參加一個問題。看來Cubique製造LEFT JOIN
,但我需要LEFT OUTER JOIN
。你知道我怎麼能在Cubique中做到這一點? Cubique上GitHub